Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001917/0.001917, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001866/0.001866, allocations: 188.4 kB / 22.22 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.526/1.526, allocations: 225.6 MB / 251 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.768/2.768, allocations: 443.4 MB / 0.7321 GB, free: 12.31 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.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.UnitConversions.Validation.From_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002326/0.002326, allocations: 63.89 kB / 1.061 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9795/0.9818, allocations: 160.8 MB / 1.218 GB, free: 3.805 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.002537/0.9844, allocations: 0.8332 MB / 1.219 GB, free: 3.172 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001409/0.9845, allocations: 41.09 kB / 1.219 GB, free: 3.137 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.53e-05/0.9846, allocations: 1.375 kB / 1.219 GB, free: 3.137 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 5.1e-05/0.9846, allocations: 15.86 kB / 1.219 GB, free: 3.121 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.464e-05/0.9847, allocations: 9.125 kB / 1.219 GB, free: 3.113 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 6.278e-05/0.9848, allocations: 19.36 kB / 1.219 GB, free: 3.098 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001516/0.985, allocations: 59.16 kB / 1.219 GB, free: 3.062 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001779/0.9851, allocations: 33.45 kB / 1.219 GB, free: 3.039 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.557e-05/0.9852, allocations: 24.75 kB / 1.219 GB, free: 3.023 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.279e-05/0.9853, allocations: 37.23 kB / 1.22 GB, free: 2.992 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.744e-05/0.9853, allocations: 5.438 kB / 1.22 GB, free: 2.992 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.534e-05/0.9853, allocations: 6.281 kB / 1.22 GB, free: 2.992 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.082e-05/0.9854, allocations: 14.09 kB / 1.22 GB, free: 2.98 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.035e-05/0.9854, allocations: 38.61 kB / 1.22 GB, free: 2.949 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001516/0.9856, allocations: 67.52 kB / 1.22 GB, free: 2.902 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.9856, allocations: 5.094 kB / 1.22 GB, free: 2.898 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.673e-06/0.9856, allocations: 3.938 kB / 1.22 GB, free: 2.895 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.602e-06/0.9856, allocations: 0 / 1.22 GB, free: 2.895 MB / 0.92 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.0006085/0.9862, allocations: 382.3 kB / 1.22 GB, free: 2.492 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/0.9862, allocations: 9.594 kB / 1.22 GB, free: 2.492 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.325e-05/0.9863, allocations: 14.12 kB / 1.22 GB, free: 2.484 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003024/0.9866, allocations: 197.7 kB / 1.22 GB, free: 2.262 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.784e-05/0.9866, allocations: 8.5 kB / 1.22 GB, free: 2.258 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.178e-05/0.9866, allocations: 9.125 kB / 1.22 GB, free: 2.254 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002028/0.9868, allocations: 96.66 kB / 1.22 GB, free: 2.172 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.793e-05/0.9869, allocations: 1.375 kB / 1.22 GB, free: 2.172 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.9869, allocations: 3.938 kB / 1.22 GB, free: 2.168 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.9869, allocations: 3 kB / 1.22 GB, free: 2.168 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.114e-05/0.987, allocations: 39.33 kB / 1.22 GB, free: 2.148 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000677/0.9876, allocations: 436.7 kB / 1.221 GB, free: 1.711 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 8.136e-05/0.9877, allocations: 45.14 kB / 1.221 GB, free: 1.652 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.215e-05/0.9878, allocations: 18.84 kB / 1.221 GB, free: 1.633 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.756e-05/0.9878, allocations: 5.219 kB / 1.221 GB, free: 1.629 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.971e-05/0.9878, allocations: 35.62 kB / 1.221 GB, free: 1.586 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.282e-06/0.9878, allocations: 0 / 1.221 GB, free: 1.586 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0002095/0.988, allocations: 54.53 kB / 1.221 GB, free: 1.539 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.206e-05/0.9881, allocations: 82.25 kB / 1.221 GB, free: 1.441 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001994/0.9883, allocations: 154 kB / 1.221 GB, free: 1.316 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.131e-05/0.9883, allocations: 25.95 kB / 1.221 GB, free: 1.285 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 8.345e-05/0.9884, allocations: 108.8 kB / 1.221 GB, free: 1.18 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.091e-05/0.9884, allocations: 4.922 kB / 1.221 GB, free: 1.176 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.418e-05/0.9885, allocations: 21.17 kB / 1.221 GB, free: 1.152 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001747/0.9886, allocations: 317.3 kB / 1.222 GB, free: 0.8359 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.106e-05/0.9887, allocations: 7.422 kB / 1.222 GB, free: 0.832 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.323e-05/0.9887, allocations: 18.72 kB / 1.222 GB, free: 0.8125 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.8e-05/0.9887, allocations: 29.81 kB / 1.222 GB, free: 0.7852 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.9888, allocations: 1.031 kB / 1.222 GB, free: 0.7852 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.52e-05/0.9888, allocations: 62.34 kB / 1.222 GB, free: 0.7344 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.9889, allocations: 5.438 kB / 1.222 GB, free: 0.7344 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.9889, allocations: 9.031 kB / 1.222 GB, free: 0.7266 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.356e-05/0.9889, allocations: 1.281 kB / 1.222 GB, free: 0.7266 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.563e-05/0.989, allocations: 4.719 kB / 1.222 GB, free: 0.7266 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.989, allocations: 1.062 kB / 1.222 GB, free: 0.7266 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.379e-05/0.989, allocations: 14.5 kB / 1.222 GB, free: 0.7148 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.112e-06/0.989, allocations: 1.062 kB / 1.222 GB, free: 0.7148 MB / 0.92 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 0.0001168/0.9891, allocations: 121 kB / 1.222 GB, free: 0.5898 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.045e-05/0.9892, allocations: 8.234 kB / 1.222 GB, free: 0.5859 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.614e-05/0.9892, allocations: 22.95 kB / 1.222 GB, free: 0.5664 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.9892, allocations: 1.156 kB / 1.222 GB, free: 0.5664 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.86e-06/0.9892, allocations: 0 / 1.222 GB, free: 0.5664 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.9892, allocations: 1.125 kB / 1.222 GB, free: 0.5664 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004621/0.9897, allocations: 477.9 kB / 1.222 GB, free: 60 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.9897, allocations: 1.031 kB / 1.222 GB, free: 60 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.178e-05/0.9897, allocations: 7.188 kB / 1.222 GB, free: 56 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.247e-06/0.9897, allocations: 1.062 kB / 1.222 GB, free: 56 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.9897, allocations: 0 / 1.222 GB, free: 56 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.9897, allocations: 5.203 kB / 1.222 GB, free: 52 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.9897, allocations: 1.094 kB / 1.222 GB, free: 52 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001251/0.9899, allocations: 82.14 kB / 1.222 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.831e-05/0.9899, allocations: 87.67 kB / 1.223 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/0.99, allocations: 5 kB / 1.223 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.157e-05/0.99, allocations: 5.031 kB / 1.223 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.126e-05/0.99, allocations: 1.031 kB / 1.223 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.406e-06/0.99, allocations: 1.125 kB / 1.223 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001335/0.9901, allocations: 120.9 kB / 1.223 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9901, allocations: 4.031 kB / 1.223 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001871/0.9903, allocations: 6.969 kB / 1.223 GB, free: 15.75 MB / 0.9356 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.0001285/0.9904, allocations: 93.84 kB / 1.223 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001162/0.9906, allocations: 23.08 kB / 1.223 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.624e-06/0.9906, allocations: 0 / 1.223 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.407e-05/0.9906, allocations: 7.562 kB / 1.223 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001801/0.9908, allocations: 13.94 kB / 1.223 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003771/0.9911, allocations: 167.3 kB / 1.223 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003837/0.9915, allocations: 0.6938 MB / 1.224 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.143e-05/0.9916, allocations: 4.625 kB / 1.224 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.011e-05/0.9916, allocations: 11.66 kB / 1.224 GB, free: 14.76 MB / 0.9356 GB Notification: Performance of SimCode: time 3.11e-07/0.9916, allocations: 4 kB / 1.224 GB, free: 14.76 MB / 0.9356 GB Notification: Performance of Templates: time 0.003509/0.9951, allocations: 483.7 kB / 1.224 GB, free: 14.52 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.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: 9.271944190375507]