Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Ramp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Ramp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001424/0.001424, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001602/0.001602, allocations: 190.5 kB / 16.13 MB, free: 6.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.284/1.284, allocations: 222.9 MB / 239.8 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.221/2.221, allocations: 390.2 MB / 0.6643 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001235, allocations: 64.14 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.526/0.5273, allocations: 140.4 MB / 0.9491 GB, free: 9.188 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp): time 0.001676/0.529, allocations: 0.6651 MB / 0.9497 GB, free: 8.68 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006544/0.5297, allocations: 0.7867 MB / 0.9505 GB, free: 8.035 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.13e-05/0.5297, allocations: 3.938 kB / 0.9505 GB, free: 8.031 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.707e-05/0.5297, allocations: 1.125 kB / 0.9505 GB, free: 8.031 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.4e-05/0.5298, allocations: 4 kB / 0.9505 GB, free: 8.027 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.318e-05/0.5298, allocations: 5.219 kB / 0.9505 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.514e-05/0.5299, allocations: 19.17 kB / 0.9505 GB, free: 8.012 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.025e-05/0.5299, allocations: 1.406 kB / 0.9505 GB, free: 8.012 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.764e-05/0.53, allocations: 2.188 kB / 0.9505 GB, free: 8.012 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.614e-05/0.53, allocations: 14.02 kB / 0.9505 GB, free: 8 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.356e-05/0.53, allocations: 1.156 kB / 0.9505 GB, free: 8 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.171e-06/0.53, allocations: 1.094 kB / 0.9505 GB, free: 8 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.183e-05/0.5301, allocations: 1.219 kB / 0.9505 GB, free: 8 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.994e-05/0.5301, allocations: 1.031 kB / 0.9505 GB, free: 8 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 4.925e-05/0.5301, allocations: 23.25 kB / 0.9506 GB, free: 7.98 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.5301, allocations: 3.938 kB / 0.9506 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.42e-07/0.5302, allocations: 0 / 0.9506 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.025e-06/0.5302, allocations: 0 / 0.9506 GB, free: 7.977 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002931/0.5305, allocations: 335 kB / 0.9509 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.5305, allocations: 9 kB / 0.9509 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.442e-05/0.5305, allocations: 35.75 kB / 0.9509 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.867e-05/0.5306, allocations: 1.938 kB / 0.9509 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.393e-05/0.5306, allocations: 169.7 kB / 0.9511 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.775e-06/0.5306, allocations: 4.375 kB / 0.9511 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.013e-06/0.5306, allocations: 1.688 kB / 0.9511 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001318/0.5308, allocations: 43.22 kB / 0.9511 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.322e-06/0.5308, allocations: 3.938 kB / 0.9511 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.362e-06/0.5308, allocations: 0 / 0.9511 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.5308, allocations: 1.156 kB / 0.9511 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001296/0.5309, allocations: 23.62 kB / 0.9512 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.357e-05/0.531, allocations: 160.2 kB / 0.9513 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 9.166e-05/0.5311, allocations: 36.56 kB / 0.9514 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.121e-05/0.5312, allocations: 17.41 kB / 0.9514 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.614e-06/0.5312, allocations: 0 / 0.9514 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.316e-05/0.5313, allocations: 32.41 kB / 0.9514 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.5313, allocations: 4 kB / 0.9514 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0002694/0.5315, allocations: 83.27 kB / 0.9515 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.577e-05/0.5316, allocations: 56.28 kB / 0.9515 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.541e-05/0.5316, allocations: 99.16 kB / 0.9516 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.853e-06/0.5316, allocations: 25.7 kB / 0.9517 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.574e-05/0.5316, allocations: 89.67 kB / 0.9517 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.681e-05/0.5317, allocations: 4.125 kB / 0.9517 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.527e-05/0.5317, allocations: 11.28 kB / 0.9518 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.369e-05/0.5317, allocations: 312.3 kB / 0.9521 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.365e-05/0.5318, allocations: 15.95 kB / 0.9521 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.357e-05/0.5319, allocations: 12.52 kB / 0.9521 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001299/0.532, allocations: 41.41 kB / 0.9521 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.532, allocations: 0 / 0.9521 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001608/0.5322, allocations: 62.08 kB / 0.9522 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.5322, allocations: 9.562 kB / 0.9522 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.5322, allocations: 4.172 kB / 0.9522 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.5322, allocations: 0 / 0.9522 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.495e-05/0.5323, allocations: 8.656 kB / 0.9522 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.596e-06/0.5323, allocations: 0 / 0.9522 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.33e-05/0.5324, allocations: 15.91 kB / 0.9522 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/0.5324, allocations: 1.438 kB / 0.9522 GB, free: 6.227 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.71e-05/0.5324, allocations: 107.5 kB / 0.9523 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.356e-06/0.5324, allocations: 11.78 kB / 0.9523 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.487e-05/0.5325, allocations: 8.875 kB / 0.9523 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.5325, allocations: 0 / 0.9523 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.5325, allocations: 0 / 0.9523 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.894e-06/0.5325, allocations: 1.531 kB / 0.9523 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.097e-05/0.5325, allocations: 156.1 kB / 0.9525 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.5325, allocations: 0 / 0.9525 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.962e-05/0.5326, allocations: 4.906 kB / 0.9525 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.5326, allocations: 3.938 kB / 0.9525 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.111e-06/0.5326, allocations: 1.406 kB / 0.9525 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.5326, allocations: 3.984 kB / 0.9525 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.5326, allocations: 0 / 0.9525 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001771/0.5328, allocations: 90.3 kB / 0.9526 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.452e-05/0.5328, allocations: 77.11 kB / 0.9527 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.178e-05/0.5328, allocations: 9.328 kB / 0.9527 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.861e-05/0.5329, allocations: 2.719 kB / 0.9527 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.622e-05/0.5329, allocations: 5.266 kB / 0.9527 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.975e-06/0.5329, allocations: 1.219 kB / 0.9527 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.958e-05/0.5329, allocations: 77.72 kB / 0.9528 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5329, allocations: 5.125 kB / 0.9528 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001711/0.5331, allocations: 6.312 kB / 0.9528 GB, free: 5.613 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003145/0.5334, allocations: 0.6203 MB / 0.9534 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001657/0.5336, allocations: 37.44 kB / 0.9534 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.5336, allocations: 0 / 0.9534 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.019e-05/0.5337, allocations: 17.75 kB / 0.9534 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001873/0.5339, allocations: 10.72 kB / 0.9534 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002654/0.5342, allocations: 117.5 kB / 0.9535 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.125e-05/0.5343, allocations: 0.676 MB / 0.9542 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.976e-05/0.5343, allocations: 1.688 kB / 0.9542 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.692e-05/0.5343, allocations: 15.42 kB / 0.9542 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.5343, allocations: 0 / 0.9542 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1541/0.6884, allocations: 1.025 MB / 0.9552 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001576/0.6886, allocations: 220.8 kB / 0.9554 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.513/2.202, allocations: 3.938 kB / 0.9554 GB, free: 3.328 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Ramp_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Ramp.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Ramp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches