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: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ram.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ram.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001189/0.001188, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001576/0.001576, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 223.3 MB / 240 MB, free: 5.285 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.39/2.39, allocations: 390.9 MB / 0.666 GB, free: 2.434 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003186/0.0003186, allocations: 8 kB / 0.8154 GB, free: 13.6 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8684/0.8687, allocations: 142.4 MB / 0.9545 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp): time 0.000909/0.8697, allocations: 325.4 kB / 0.9548 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008439/0.8705, allocations: 0.7859 MB / 0.9555 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.471e-05/0.8706, allocations: 0 / 0.9555 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.303e-05/0.8706, allocations: 0 / 0.9555 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.04e-05/0.8707, allocations: 5.125 kB / 0.9555 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.716e-05/0.8707, allocations: 3.984 kB / 0.9556 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.243e-05/0.8708, allocations: 14.28 kB / 0.9556 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.637e-05/0.8709, allocations: 0.8438 kB / 0.9556 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.53e-05/0.8709, allocations: 14.86 kB / 0.9556 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.459e-05/0.871, allocations: 5.969 kB / 0.9556 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.351e-05/0.871, allocations: 0.9688 kB / 0.9556 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.58e-06/0.871, allocations: 1.094 kB / 0.9556 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.015e-05/0.871, allocations: 1.094 kB / 0.9556 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.978e-05/0.8711, allocations: 30.67 kB / 0.9556 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.259e-05/0.8711, allocations: 17.91 kB / 0.9556 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.8711, allocations: 0 / 0.9556 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.883e-06/0.8711, allocations: 1.094 kB / 0.9556 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.748e-06/0.8711, allocations: 0 / 0.9556 GB, free: 6.797 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.0003688/0.8715, allocations: 336.1 kB / 0.956 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.8716, allocations: 8.812 kB / 0.956 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.96e-05/0.8716, allocations: 5.078 kB / 0.956 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.725e-05/0.8717, allocations: 166.1 kB / 0.9561 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.8717, allocations: 1 kB / 0.9561 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.246e-05/0.8717, allocations: 4 kB / 0.9561 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001625/0.8719, allocations: 48.3 kB / 0.9562 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.8719, allocations: 0 / 0.9562 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.8719, allocations: 3.984 kB / 0.9562 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.8719, allocations: 1.219 kB / 0.9562 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001398/0.8721, allocations: 45.11 kB / 0.9562 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001398/0.8722, allocations: 153.3 kB / 0.9564 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 9.873e-05/0.8723, allocations: 43.83 kB / 0.9564 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.555e-05/0.8724, allocations: 26 kB / 0.9564 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.202e-05/0.8724, allocations: 4.938 kB / 0.9564 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.257e-05/0.8725, allocations: 31.78 kB / 0.9565 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 9.51e-07/0.8725, allocations: 0 / 0.9565 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0002899/0.8728, allocations: 91.11 kB / 0.9566 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.713e-05/0.8728, allocations: 55.34 kB / 0.9566 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.057e-05/0.8729, allocations: 104 kB / 0.9567 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.993e-06/0.8729, allocations: 25.7 kB / 0.9567 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.059e-05/0.8729, allocations: 81.2 kB / 0.9568 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.175e-05/0.8729, allocations: 7.891 kB / 0.9568 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.284e-06/0.8729, allocations: 0 / 0.9568 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.12e-05/0.873, allocations: 319.9 kB / 0.9571 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.583e-05/0.8731, allocations: 21.3 kB / 0.9571 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.395e-05/0.8731, allocations: 18.02 kB / 0.9572 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.882e-05/0.8732, allocations: 20.95 kB / 0.9572 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.8732, allocations: 0 / 0.9572 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001564/0.8734, allocations: 74.81 kB / 0.9573 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.8734, allocations: 5.469 kB / 0.9573 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.8734, allocations: 0 / 0.9573 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.8734, allocations: 5.438 kB / 0.9573 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.15e-05/0.8735, allocations: 18.39 kB / 0.9573 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.932e-06/0.8735, allocations: 4.031 kB / 0.9573 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.019e-05/0.8736, allocations: 6.125 kB / 0.9573 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.8736, allocations: 1.25 kB / 0.9573 GB, free: 5.117 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.231e-05/0.8737, allocations: 114.9 kB / 0.9574 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.334e-06/0.8737, allocations: 1.594 kB / 0.9574 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.535e-05/0.8737, allocations: 3.125 kB / 0.9574 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-06/0.8737, allocations: 1.375 kB / 0.9574 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.8737, allocations: 0 / 0.9574 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.8737, allocations: 4 kB / 0.9574 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.391e-05/0.8738, allocations: 160.5 kB / 0.9576 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.8738, allocations: 1.469 kB / 0.9576 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-05/0.8738, allocations: 10.95 kB / 0.9576 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.8739, allocations: 0 / 0.9576 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-06/0.8739, allocations: 0 / 0.9576 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.8739, allocations: 1.219 kB / 0.9576 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.8739, allocations: 0 / 0.9576 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001786/0.8741, allocations: 107.4 kB / 0.9577 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.252e-05/0.8741, allocations: 86.02 kB / 0.9578 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.192e-05/0.8741, allocations: 0 / 0.9578 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.978e-05/0.8742, allocations: 14.52 kB / 0.9578 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.131e-05/0.8742, allocations: 0.9062 kB / 0.9578 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-06/0.8742, allocations: 1.375 kB / 0.9578 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.486e-05/0.8742, allocations: 77.62 kB / 0.9579 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8742, allocations: 0 / 0.9579 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00017/0.8744, allocations: 3.875 kB / 0.9579 GB, free: 4.504 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001271/0.8745, allocations: 104.1 kB / 0.958 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001847/0.8747, allocations: 46.53 kB / 0.958 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.8747, allocations: 0 / 0.958 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.635e-05/0.8748, allocations: 24.55 kB / 0.958 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002501/0.8751, allocations: 11.55 kB / 0.958 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003072/0.8754, allocations: 96.02 kB / 0.9581 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001754/0.8756, allocations: 0.6761 MB / 0.9588 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.841e-05/0.8756, allocations: 0 / 0.9588 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.335e-05/0.8757, allocations: 8.344 kB / 0.9588 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.8757, allocations: 0 / 0.9588 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of Templates: time 0.002496/0.8782, allocations: 342 kB / 0.9591 GB, free: 3.371 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.makefile (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 & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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