Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.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.001842/0.001842, allocations: 77.33 kB / 19.18 MB, free: 2.512 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.002497/0.002497, allocations: 161.2 kB / 22.46 MB, free: 5.391 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: 177.1 MB / 202.8 MB, free: 9.148 MB / 190.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 2.919/2.919, allocations: 389 MB / 0.633 GB, free: 0.9727 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 1 GB, free: 7.258 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.351e-05/3.499e-05, allocations: 2.281 kB / 1 GB, free: 7.254 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.002027/0.002062, allocations: 0.8075 MB / 1.001 GB, free: 6.453 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0001309/0.002193, allocations: 47.78 kB / 1.001 GB, free: 6.406 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.647e-05/0.00225, allocations: 0 / 1.001 GB, free: 6.406 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 4.197e-05/0.002292, allocations: 7.875 kB / 1.001 GB, free: 6.398 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 9.846e-05/0.00239, allocations: 7.875 kB / 1.001 GB, free: 6.391 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 5.171e-05/0.002442, allocations: 19.97 kB / 1.001 GB, free: 6.371 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001336/0.002576, allocations: 67.78 kB / 1.001 GB, free: 6.305 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001508/0.002726, allocations: 31.91 kB / 1.001 GB, free: 6.273 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001029/0.002829, allocations: 35.91 kB / 1.001 GB, free: 6.238 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 5.487e-05/0.002884, allocations: 19.92 kB / 1.001 GB, free: 6.219 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.248e-05/0.002907, allocations: 4 kB / 1.001 GB, free: 6.215 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 9.818e-06/0.002916, allocations: 8 kB / 1.001 GB, free: 6.207 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.892e-05/0.002945, allocations: 23.91 kB / 1.001 GB, free: 6.184 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.207e-05/0.002987, allocations: 15.92 kB / 1.001 GB, free: 6.168 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001238/0.003111, allocations: 67.77 kB / 1.001 GB, free: 6.102 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.003114, allocations: 0 / 1.001 GB, free: 6.102 MB / 0.9512 GB Notification: Performance of FrontEnd: time 5.01e-07/0.003114, allocations: 0 / 1.001 GB, free: 6.102 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.003119, allocations: 3.938 kB / 1.001 GB, free: 6.098 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004929/0.003612, allocations: 306 kB / 1.002 GB, free: 5.766 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.003655, allocations: 8.031 kB / 1.002 GB, free: 5.758 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.472e-05/0.0037, allocations: 20.83 kB / 1.002 GB, free: 5.738 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002205/0.00392, allocations: 129.7 kB / 1.002 GB, free: 5.586 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.719e-05/0.003937, allocations: 4.375 kB / 1.002 GB, free: 5.582 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.48e-05/0.003952, allocations: 8.375 kB / 1.002 GB, free: 5.574 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001934/0.004145, allocations: 95.8 kB / 1.002 GB, free: 5.469 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.004158, allocations: 192 / 1.002 GB, free: 5.469 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.004171, allocations: 4.375 kB / 1.002 GB, free: 5.465 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.00418, allocations: 4.375 kB / 1.002 GB, free: 5.461 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.881e-05/0.004269, allocations: 35.92 kB / 1.002 GB, free: 5.426 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005431/0.004812, allocations: 360.4 kB / 1.002 GB, free: 5.039 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 6.789e-05/0.00488, allocations: 45.2 kB / 1.002 GB, free: 4.977 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.774e-05/0.004917, allocations: 17.81 kB / 1.002 GB, free: 4.953 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 7.354e-06/0.004925, allocations: 3.938 kB / 1.002 GB, free: 4.949 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.494e-05/0.00496, allocations: 38.56 kB / 1.002 GB, free: 4.902 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 1.243e-06/0.004961, allocations: 0 / 1.002 GB, free: 4.902 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0001822/0.005143, allocations: 49.59 kB / 1.002 GB, free: 4.848 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.346e-05/0.005227, allocations: 81.09 kB / 1.002 GB, free: 4.75 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001361/0.005363, allocations: 132.5 kB / 1.003 GB, free: 4.613 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.005383, allocations: 29.7 kB / 1.003 GB, free: 4.578 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.938e-05/0.005462, allocations: 111.9 kB / 1.003 GB, free: 4.465 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.594e-05/0.005478, allocations: 7.953 kB / 1.003 GB, free: 4.457 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.677e-05/0.005515, allocations: 21.7 kB / 1.003 GB, free: 4.43 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.005662, allocations: 310.8 kB / 1.003 GB, free: 4.117 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.861e-05/0.00568, allocations: 8 kB / 1.003 GB, free: 4.109 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.637e-05/0.005707, allocations: 17.7 kB / 1.003 GB, free: 4.086 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.899e-05/0.005756, allocations: 33.66 kB / 1.003 GB, free: 4.047 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.005757, allocations: 0 / 1.003 GB, free: 4.047 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.233e-05/0.00584, allocations: 53.66 kB / 1.003 GB, free: 3.988 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.005856, allocations: 10.02 kB / 1.003 GB, free: 3.98 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.005861, allocations: 0 / 1.003 GB, free: 3.98 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.005878, allocations: 0 / 1.003 GB, free: 3.98 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.131e-05/0.00594, allocations: 11.94 kB / 1.003 GB, free: 3.969 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.675e-06/0.005947, allocations: 3.938 kB / 1.003 GB, free: 3.965 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.99e-05/0.005977, allocations: 15.88 kB / 1.003 GB, free: 3.949 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/0.005984, allocations: 4 kB / 1.003 GB, free: 3.945 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 9.376e-05/0.006078, allocations: 113.8 kB / 1.003 GB, free: 3.824 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.143e-05/0.006119, allocations: 12.09 kB / 1.003 GB, free: 3.812 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.25e-05/0.006142, allocations: 11.45 kB / 1.003 GB, free: 3.801 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.006143, allocations: 0 / 1.003 GB, free: 3.801 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.006148, allocations: 0 / 1.003 GB, free: 3.801 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.006155, allocations: 7.938 kB / 1.003 GB, free: 3.793 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003847/0.00654, allocations: 406.5 kB / 1.004 GB, free: 3.352 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.006543, allocations: 4 kB / 1.004 GB, free: 3.348 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.791e-05/0.006561, allocations: 0 / 1.004 GB, free: 3.348 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.006565, allocations: 4 kB / 1.004 GB, free: 3.344 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.006573, allocations: 3.938 kB / 1.004 GB, free: 3.34 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.083e-06/0.006574, allocations: 4.062 kB / 1.004 GB, free: 3.336 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.006575, allocations: 0 / 1.004 GB, free: 3.336 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.927e-05/0.006674, allocations: 77.88 kB / 1.004 GB, free: 3.238 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 2.041e-05/0.006695, allocations: 8 kB / 1.004 GB, free: 3.23 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.424e-05/0.006709, allocations: 3.938 kB / 1.004 GB, free: 3.227 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.716e-05/0.006726, allocations: 0 / 1.004 GB, free: 3.227 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.471e-05/0.006741, allocations: 4 kB / 1.004 GB, free: 3.223 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-06/0.006743, allocations: 3.938 kB / 1.004 GB, free: 3.219 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 7.341e-05/0.006816, allocations: 99.27 kB / 1.004 GB, free: 3.121 MB / 0.9512 GB Notification: Performance of sort global known variables: time 8e-08/0.006816, allocations: 0 / 1.004 GB, free: 3.121 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0001885/0.007005, allocations: 15.98 kB / 1.004 GB, free: 3.105 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0001134/0.007118, allocations: 103.2 kB / 1.004 GB, free: 2.996 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 9.4e-05/0.007212, allocations: 15.94 kB / 1.004 GB, free: 2.98 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.007214, allocations: 0 / 1.004 GB, free: 2.98 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.068e-05/0.007225, allocations: 4 kB / 1.004 GB, free: 2.977 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001559/0.00738, allocations: 8 kB / 1.004 GB, free: 2.969 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003363/0.007717, allocations: 166.5 kB / 1.004 GB, free: 2.77 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.594e-05/0.007793, allocations: 79.58 kB / 1.004 GB, free: 2.672 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.862e-05/0.007821, allocations: 7.984 kB / 1.004 GB, free: 2.664 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.835e-05/0.00785, allocations: 8.5 kB / 1.004 GB, free: 2.656 MB / 0.9512 GB Notification: Performance of SimCode: time 4e-07/0.00785, allocations: 0 / 1.004 GB, free: 2.656 MB / 0.9512 GB Notification: Performance of Templates: time 0.00292/0.01077, allocations: 336.6 kB / 1.005 GB, free: 2.328 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.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: 8.390259508043528]