Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001681/0.001681, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002087/0.002087, allocations: 220.5 kB / 23.04 MB, free: 5.07 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.526/1.526, allocations: 230.6 MB / 256.8 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.331/3.331, allocations: 0.49 GB / 0.7959 GB, free: 33.5 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Controls_OBC_CDL_Reals_Validation_Ramp",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Ramp",fmuType="cs",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.002079/0.002079, allocations: 64.78 kB / 1.155 GB, free: 25.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4153/0.4174, allocations: 176.1 MB / 1.327 GB, free: 1.934 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.002891/0.4203, allocations: 1.293 MB / 1.328 GB, free: 0.6406 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002427/0.4227, allocations: 1.728 MB / 1.33 GB, free: 14.9 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.441e-05/0.4228, allocations: 0 / 1.33 GB, free: 14.9 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 5.72e-05/0.4228, allocations: 27.67 kB / 1.33 GB, free: 14.87 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001917/0.423, allocations: 99.33 kB / 1.33 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001413/0.4244, allocations: 0.6457 MB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0008179/0.4253, allocations: 0.7564 MB / 1.331 GB, free: 13.39 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001527/0.4254, allocations: 48.91 kB / 1.331 GB, free: 13.33 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003562/0.4258, allocations: 303.3 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004154/0.4262, allocations: 291 kB / 1.332 GB, free: 12.75 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001099/0.4263, allocations: 72 kB / 1.332 GB, free: 12.68 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001574/0.4265, allocations: 83.98 kB / 1.332 GB, free: 12.6 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.571e-05/0.4265, allocations: 67.83 kB / 1.332 GB, free: 12.53 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002895/0.4268, allocations: 267.1 kB / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007182/0.4275, allocations: 0.7011 MB / 1.333 GB, free: 11.57 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.4275, allocations: 4 kB / 1.333 GB, free: 11.56 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.092e-06/0.4275, allocations: 0 / 1.333 GB, free: 11.56 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.093e-06/0.4275, allocations: 0 / 1.333 GB, free: 11.56 MB / 1.029 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.001391/0.4289, allocations: 0.8653 MB / 1.334 GB, free: 10.61 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.429, allocations: 12.03 kB / 1.334 GB, free: 10.6 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.469e-05/0.429, allocations: 8.125 kB / 1.334 GB, free: 10.59 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.635e-05/0.4291, allocations: 50.72 kB / 1.334 GB, free: 10.54 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001285/0.4292, allocations: 48.75 kB / 1.334 GB, free: 10.49 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001402/0.4306, allocations: 389 kB / 1.334 GB, free: 10.08 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.445e-05/0.4306, allocations: 36.23 kB / 1.334 GB, free: 10.05 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001034/0.4307, allocations: 48.36 kB / 1.334 GB, free: 10 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004756/0.4312, allocations: 220.2 kB / 1.335 GB, free: 9.77 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.4312, allocations: 0 / 1.335 GB, free: 9.77 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.847e-05/0.4312, allocations: 11.98 kB / 1.335 GB, free: 9.758 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.4312, allocations: 4 kB / 1.335 GB, free: 9.754 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003364/0.4316, allocations: 119.9 kB / 1.335 GB, free: 9.637 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001392/0.433, allocations: 0.9171 MB / 1.336 GB, free: 8.668 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007257/0.4337, allocations: 220.1 kB / 1.336 GB, free: 8.426 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002753/0.434, allocations: 102.5 kB / 1.336 GB, free: 8.316 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.128e-05/0.434, allocations: 4 kB / 1.336 GB, free: 8.312 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007411/0.4348, allocations: 305.6 kB / 1.336 GB, free: 7.992 MB / 1.029 GB Notification: Performance of pre-optimization done (n=37): time 1.463e-06/0.4348, allocations: 0 / 1.336 GB, free: 7.992 MB / 1.029 GB Notification: Performance of matching and sorting (n=37): time 0.001289/0.436, allocations: 460.7 kB / 1.337 GB, free: 7.539 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.99e-05/0.4361, allocations: 110.8 kB / 1.337 GB, free: 7.406 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003054/0.4364, allocations: 272.1 kB / 1.337 GB, free: 7.133 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 9.512e-05/0.4365, allocations: 45.7 kB / 1.337 GB, free: 7.082 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001578/0.4367, allocations: 165 kB / 1.337 GB, free: 6.918 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001123/0.4368, allocations: 107.1 kB / 1.337 GB, free: 6.812 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002832/0.4371, allocations: 158 kB / 1.337 GB, free: 6.652 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001842/0.4373, allocations: 346.8 kB / 1.338 GB, free: 6.305 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005636/0.4378, allocations: 220.8 kB / 1.338 GB, free: 6.086 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006781/0.4385, allocations: 384.3 kB / 1.338 GB, free: 5.645 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001009/0.4395, allocations: 0.5737 MB / 1.339 GB, free: 4.992 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.4395, allocations: 4 kB / 1.339 GB, free: 4.988 MB / 1.029 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.00175/0.4413, allocations: 0.8579 MB / 1.34 GB, free: 4.09 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001421/0.4414, allocations: 194.1 kB / 1.34 GB, free: 3.863 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.4414, allocations: 4 kB / 1.34 GB, free: 3.859 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.4414, allocations: 4 kB / 1.34 GB, free: 3.855 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002372/0.4417, allocations: 51.91 kB / 1.34 GB, free: 3.805 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.25e-05/0.4417, allocations: 7.938 kB / 1.34 GB, free: 3.797 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009526/0.4427, allocations: 179.8 kB / 1.34 GB, free: 3.621 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.24e-05/0.4427, allocations: 52.03 kB / 1.34 GB, free: 3.57 MB / 1.029 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.0002664/0.443, allocations: 168 kB / 1.34 GB, free: 3.398 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.608e-05/0.4431, allocations: 35.7 kB / 1.34 GB, free: 3.363 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.098e-05/0.4432, allocations: 37.8 kB / 1.34 GB, free: 3.324 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.4432, allocations: 4 kB / 1.34 GB, free: 3.32 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.4432, allocations: 4 kB / 1.34 GB, free: 3.316 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.4432, allocations: 4 kB / 1.34 GB, free: 3.312 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001471/0.4446, allocations: 0.8864 MB / 1.341 GB, free: 2.371 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.4447, allocations: 4 kB / 1.341 GB, free: 2.367 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002432/0.4449, allocations: 47.91 kB / 1.341 GB, free: 2.32 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.802e-06/0.4449, allocations: 3.984 kB / 1.341 GB, free: 2.316 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.904e-05/0.4449, allocations: 12 kB / 1.341 GB, free: 2.305 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.392e-06/0.4449, allocations: 7.984 kB / 1.341 GB, free: 2.297 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.4449, allocations: 0 / 1.341 GB, free: 2.297 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001326/0.4463, allocations: 0.7163 MB / 1.342 GB, free: 1.562 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.246e-05/0.4463, allocations: 31.77 kB / 1.342 GB, free: 1.531 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.745e-05/0.4464, allocations: 8 kB / 1.342 GB, free: 1.523 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002622/0.4466, allocations: 20.02 kB / 1.342 GB, free: 1.504 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.813e-05/0.4467, allocations: 27.95 kB / 1.342 GB, free: 1.477 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.699e-05/0.4468, allocations: 19.98 kB / 1.342 GB, free: 1.457 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002085/0.447, allocations: 179.1 kB / 1.342 GB, free: 1.285 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.447, allocations: 0 / 1.342 GB, free: 1.285 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0007632/0.4477, allocations: 115.9 kB / 1.342 GB, free: 1.172 MB / 1.029 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.001806/0.4495, allocations: 1.269 MB / 1.344 GB, free: 15.87 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001542/0.4511, allocations: 0.7605 MB / 1.344 GB, free: 15.04 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.4511, allocations: 0 / 1.344 GB, free: 15.04 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0003497/0.4514, allocations: 148.5 kB / 1.345 GB, free: 14.9 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008068/0.4522, allocations: 105.9 kB / 1.345 GB, free: 14.79 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007141/0.4594, allocations: 4.27 MB / 1.349 GB, free: 10.3 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004424/0.4598, allocations: 0.7728 MB / 1.35 GB, free: 9.508 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002615/0.4601, allocations: 55.44 kB / 1.35 GB, free: 9.449 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001808/0.4603, allocations: 111.4 kB / 1.35 GB, free: 9.34 MB / 1.045 GB Notification: Performance of SimCode: time 1.543e-06/0.4603, allocations: 0 / 1.35 GB, free: 9.34 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0375/0.4978, allocations: 10.29 MB / 1.36 GB, free: 15.29 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.89/12.38, allocations: 8 kB / 1.36 GB, free: 15.28 MB / 1.061 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Ramp_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Ramp.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Ramp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.708768973010592]