Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001595/0.001595, allocations: 114.5 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002004/0.002004, allocations: 217 kB / 22.25 MB, free: 5.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.523/1.523, allocations: 230.6 MB / 256 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.418/3.418, allocations: 0.505 GB / 0.8101 GB, free: 22.06 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Ramp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Ramp",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002068/0.002068, allocations: 63.58 kB / 1.177 GB, free: 17.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4085/0.4105, allocations: 180.2 MB / 1.353 GB, free: 8.426 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.002964/0.4135, allocations: 1.306 MB / 1.354 GB, free: 7.121 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002675/0.4162, allocations: 1.728 MB / 1.356 GB, free: 5.379 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002294/0.4164, allocations: 4 kB / 1.356 GB, free: 5.375 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 9.595e-05/0.4165, allocations: 23.67 kB / 1.356 GB, free: 5.352 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0003244/0.4168, allocations: 91.34 kB / 1.356 GB, free: 5.262 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001704/0.4185, allocations: 0.6545 MB / 1.357 GB, free: 4.625 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001089/0.4196, allocations: 0.7525 MB / 1.357 GB, free: 3.871 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002029/0.4198, allocations: 44.91 kB / 1.357 GB, free: 3.828 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004797/0.4203, allocations: 311.3 kB / 1.358 GB, free: 3.523 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000428/0.4207, allocations: 283.1 kB / 1.358 GB, free: 3.246 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.000115/0.4208, allocations: 72 kB / 1.358 GB, free: 3.176 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001821/0.421, allocations: 79.98 kB / 1.358 GB, free: 3.098 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 7.996e-05/0.4211, allocations: 79.69 kB / 1.358 GB, free: 3.02 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.000289/0.4214, allocations: 255.2 kB / 1.358 GB, free: 2.77 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000792/0.4222, allocations: 0.7012 MB / 1.359 GB, free: 2.066 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.4222, allocations: 3.938 kB / 1.359 GB, free: 2.062 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.903e-06/0.4222, allocations: 0 / 1.359 GB, free: 2.062 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.328e-05/0.4222, allocations: 0 / 1.359 GB, free: 2.062 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.001482/0.4237, allocations: 0.8692 MB / 1.36 GB, free: 1.109 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.4237, allocations: 8.031 kB / 1.36 GB, free: 1.102 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.8e-05/0.4238, allocations: 50.73 kB / 1.36 GB, free: 1.043 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000126/0.4239, allocations: 52.7 kB / 1.36 GB, free: 0.9922 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001386/0.4253, allocations: 389.1 kB / 1.36 GB, free: 0.5859 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.669e-05/0.4253, allocations: 36.36 kB / 1.36 GB, free: 0.5508 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001028/0.4254, allocations: 48.33 kB / 1.361 GB, free: 0.5039 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004839/0.4259, allocations: 220.2 kB / 1.361 GB, free: 280 kB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.4259, allocations: 3.984 kB / 1.361 GB, free: 276 kB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.332e-05/0.426, allocations: 4 kB / 1.361 GB, free: 272 kB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.426, allocations: 4 kB / 1.361 GB, free: 268 kB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003388/0.4263, allocations: 127.9 kB / 1.361 GB, free: 140 kB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001378/0.4277, allocations: 0.925 MB / 1.362 GB, free: 15.16 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007022/0.4284, allocations: 216.1 kB / 1.362 GB, free: 14.92 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002685/0.4287, allocations: 102.5 kB / 1.362 GB, free: 14.81 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.846e-05/0.4287, allocations: 0 / 1.362 GB, free: 14.81 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006516/0.4293, allocations: 305.2 kB / 1.362 GB, free: 14.49 MB / 1.061 GB Notification: Performance of pre-optimization done (n=37): time 1.563e-06/0.4293, allocations: 0 / 1.362 GB, free: 14.49 MB / 1.061 GB Notification: Performance of matching and sorting (n=37): time 0.001188/0.4305, allocations: 446 kB / 1.363 GB, free: 14.05 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001069/0.4306, allocations: 126.7 kB / 1.363 GB, free: 13.9 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002903/0.4309, allocations: 264.1 kB / 1.363 GB, free: 13.64 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.552e-05/0.431, allocations: 49.7 kB / 1.363 GB, free: 13.58 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001679/0.4312, allocations: 161 kB / 1.363 GB, free: 13.42 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001022/0.4313, allocations: 99.22 kB / 1.363 GB, free: 13.32 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002648/0.4315, allocations: 154 kB / 1.364 GB, free: 13.16 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001731/0.4317, allocations: 342.8 kB / 1.364 GB, free: 12.82 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005816/0.4323, allocations: 228.8 kB / 1.364 GB, free: 12.59 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006611/0.433, allocations: 388.3 kB / 1.365 GB, free: 12.14 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009386/0.4339, allocations: 0.5729 MB / 1.365 GB, free: 11.49 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.4339, allocations: 0 / 1.365 GB, free: 11.49 MB / 1.061 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001629/0.4355, allocations: 0.8537 MB / 1.366 GB, free: 10.6 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001542/0.4357, allocations: 186.2 kB / 1.366 GB, free: 10.38 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.59e-05/0.4357, allocations: 7.938 kB / 1.366 GB, free: 10.38 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.284e-05/0.4357, allocations: 4.188 kB / 1.366 GB, free: 10.37 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002603/0.436, allocations: 64.2 kB / 1.366 GB, free: 10.31 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.29e-05/0.436, allocations: 11.94 kB / 1.366 GB, free: 10.3 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009077/0.4369, allocations: 183.5 kB / 1.366 GB, free: 10.12 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.665e-05/0.437, allocations: 43.95 kB / 1.366 GB, free: 10.07 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 27 ($whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,pul.booPul.y,$PRE.pul.booPul.y,booPul1.y,$PRE.booPul1.y,$whenCondition15,$whenCondition8,$whenCondition9,$whenCondition6,$whenCondition7,pul1.booPul.y,$PRE.pul1.booPul.y,booPul2.y,$PRE.booPul2.y,$whenCondition10,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul5.y,$PRE.booPul5.y,pul2.booPul.y,$PRE.pul2.booPul.y,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 6 * 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 0.000262/0.4373, allocations: 179.3 kB / 1.367 GB, free: 9.887 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.179e-05/0.4373, allocations: 35.8 kB / 1.367 GB, free: 9.852 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.628e-05/0.4374, allocations: 33.75 kB / 1.367 GB, free: 9.816 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.211e-06/0.4374, allocations: 8 kB / 1.367 GB, free: 9.809 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.4374, allocations: 3.984 kB / 1.367 GB, free: 9.805 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.4374, allocations: 0 / 1.367 GB, free: 9.805 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001428/0.4388, allocations: 0.8982 MB / 1.368 GB, free: 8.852 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.4388, allocations: 0 / 1.368 GB, free: 8.852 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002246/0.4391, allocations: 39.91 kB / 1.368 GB, free: 8.812 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.568e-06/0.4391, allocations: 4 kB / 1.368 GB, free: 8.809 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.101e-05/0.4391, allocations: 11.98 kB / 1.368 GB, free: 8.797 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.4391, allocations: 0 / 1.368 GB, free: 8.797 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.4391, allocations: 7.984 kB / 1.368 GB, free: 8.789 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001211/0.4403, allocations: 0.7124 MB / 1.368 GB, free: 8.059 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.298e-05/0.4404, allocations: 23.81 kB / 1.368 GB, free: 8.035 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.566e-05/0.4404, allocations: 16.03 kB / 1.368 GB, free: 8.02 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002344/0.4407, allocations: 19.98 kB / 1.368 GB, free: 8 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.484e-05/0.4407, allocations: 23.95 kB / 1.368 GB, free: 7.977 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.05e-05/0.4408, allocations: 19.98 kB / 1.368 GB, free: 7.957 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001943/0.441, allocations: 183.1 kB / 1.369 GB, free: 7.777 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.441, allocations: 0 / 1.369 GB, free: 7.777 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000702/0.4417, allocations: 115.9 kB / 1.369 GB, free: 7.664 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (ramUpDow1.y_internal,ramUpDow.y_internal,ramUp.y_internal,ramUp1.y_internal) * Number of discrete variables: 21 ($whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pul2.booPul.y,booPul5.y,$whenCondition10,$whenCondition8,$whenCondition9,$whenCondition6,$whenCondition7,booPul2.y,pul1.booPul.y,$whenCondition15,$whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,booPul1.y,pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.00172/0.4434, allocations: 1.276 MB / 1.37 GB, free: 6.359 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001452/0.4448, allocations: 0.7545 MB / 1.371 GB, free: 5.531 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.4448, allocations: 4.062 kB / 1.371 GB, free: 5.527 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003355/0.4452, allocations: 139.8 kB / 1.371 GB, free: 5.391 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007987/0.446, allocations: 109.1 kB / 1.371 GB, free: 5.281 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006737/0.4527, allocations: 4.28 MB / 1.375 GB, free: 0.7891 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004468/0.4532, allocations: 0.7765 MB / 1.376 GB, free: 15.98 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002428/0.4534, allocations: 55.27 kB / 1.376 GB, free: 15.93 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001666/0.4536, allocations: 115.4 kB / 1.376 GB, free: 15.81 MB / 1.076 GB Notification: Performance of SimCode: time 1.342e-06/0.4536, allocations: 0 / 1.376 GB, free: 15.81 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04628/0.4999, allocations: 10.24 MB / 1.386 GB, free: 5.809 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.72/12.22, allocations: 5.469 kB / 1.386 GB, free: 5.805 MB / 1.076 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Ramp_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Ramp.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Ramp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.362403408857062]