Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.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.001416/0.001416, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.001688/0.001688, allocations: 157.7 kB / 22.75 MB, free: 1.684 MB / 18.57 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.469/1.469, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 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.256/3.256, allocations: 429.6 MB / 0.673 GB, free: 3.906 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.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: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.206e-06/3.206e-06, allocations: 0 / 0.8776 GB, free: 6.5 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.185e-05/3.506e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.496 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degC): time 0.00323/0.003265, allocations: 0.8465 MB / 0.8784 GB, free: 5.68 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0002437/0.003509, allocations: 52.38 kB / 0.8785 GB, free: 5.629 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.449e-05/0.003603, allocations: 4.906 kB / 0.8785 GB, free: 5.625 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 6.305e-05/0.003666, allocations: 11.81 kB / 0.8785 GB, free: 5.613 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001117/0.003778, allocations: 12.94 kB / 0.8785 GB, free: 5.602 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001042/0.003882, allocations: 23.97 kB / 0.8785 GB, free: 5.578 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.000191/0.004073, allocations: 79.77 kB / 0.8786 GB, free: 5.5 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001755/0.004248, allocations: 38.41 kB / 0.8786 GB, free: 5.465 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001353/0.004384, allocations: 59.77 kB / 0.8787 GB, free: 5.406 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.301e-05/0.004457, allocations: 23.91 kB / 0.8787 GB, free: 5.383 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.934e-05/0.004486, allocations: 9.094 kB / 0.8787 GB, free: 5.375 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.821e-05/0.004504, allocations: 8 kB / 0.8787 GB, free: 5.367 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.181e-05/0.004536, allocations: 15.92 kB / 0.8788 GB, free: 5.352 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 5.88e-05/0.004595, allocations: 28.56 kB / 0.8788 GB, free: 5.324 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002213/0.004816, allocations: 91.66 kB / 0.8789 GB, free: 5.234 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.004819, allocations: 0.9688 kB / 0.8789 GB, free: 5.234 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.31e-07/0.00482, allocations: 0 / 0.8789 GB, free: 5.234 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.534e-06/0.004827, allocations: 4 kB / 0.8789 GB, free: 5.23 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0006037/0.005431, allocations: 326.8 kB / 0.8792 GB, free: 4.879 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.00547, allocations: 8.688 kB / 0.8792 GB, free: 4.871 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.93e-05/0.005539, allocations: 16.89 kB / 0.8792 GB, free: 4.855 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003062/0.005846, allocations: 153.2 kB / 0.8794 GB, free: 4.684 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.005862, allocations: 4.562 kB / 0.8794 GB, free: 4.68 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.04e-05/0.005882, allocations: 8.375 kB / 0.8794 GB, free: 4.672 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002739/0.006156, allocations: 112.1 kB / 0.8795 GB, free: 4.551 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.006169, allocations: 4 kB / 0.8795 GB, free: 4.547 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.688e-05/0.006186, allocations: 4 kB / 0.8795 GB, free: 4.543 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.00619, allocations: 0 / 0.8795 GB, free: 4.543 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001485/0.006339, allocations: 47.91 kB / 0.8795 GB, free: 4.496 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007606/0.007099, allocations: 380.8 kB / 0.8799 GB, free: 4.09 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.452e-05/0.007184, allocations: 41.16 kB / 0.8799 GB, free: 4.031 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.727e-05/0.007241, allocations: 19.31 kB / 0.8799 GB, free: 4.008 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.059e-05/0.007252, allocations: 0 / 0.8799 GB, free: 4.008 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.491e-05/0.007307, allocations: 42.5 kB / 0.88 GB, free: 3.957 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.007308, allocations: 0 / 0.88 GB, free: 3.957 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0002588/0.007566, allocations: 45.69 kB / 0.88 GB, free: 3.906 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.905e-05/0.007665, allocations: 81.05 kB / 0.8801 GB, free: 3.809 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002177/0.007883, allocations: 137.8 kB / 0.8802 GB, free: 3.664 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.687e-05/0.00791, allocations: 29.7 kB / 0.8803 GB, free: 3.629 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001267/0.008037, allocations: 116.1 kB / 0.8804 GB, free: 3.508 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.253e-05/0.008049, allocations: 4.703 kB / 0.8804 GB, free: 3.504 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.843e-05/0.008118, allocations: 21.7 kB / 0.8804 GB, free: 3.477 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002303/0.008348, allocations: 322.8 kB / 0.8807 GB, free: 3.152 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.731e-05/0.008375, allocations: 8.25 kB / 0.8807 GB, free: 3.145 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.573e-05/0.008421, allocations: 21.92 kB / 0.8807 GB, free: 3.117 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.99e-05/0.008491, allocations: 21.72 kB / 0.8808 GB, free: 3.09 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.008494, allocations: 3.938 kB / 0.8808 GB, free: 3.086 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001552/0.008649, allocations: 61.59 kB / 0.8808 GB, free: 3.02 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.008668, allocations: 7.984 kB / 0.8808 GB, free: 3.012 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.008674, allocations: 0 / 0.8808 GB, free: 3.012 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.302e-05/0.008697, allocations: 0 / 0.8808 GB, free: 3.012 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.028e-05/0.008777, allocations: 12.06 kB / 0.8808 GB, free: 3 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.008788, allocations: 3.938 kB / 0.8808 GB, free: 2.996 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.072e-05/0.008829, allocations: 0 / 0.8808 GB, free: 2.996 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.659e-06/0.008839, allocations: 4 kB / 0.8808 GB, free: 2.992 MB / 0.8386 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.0001445/0.008983, allocations: 117.8 kB / 0.881 GB, free: 2.867 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.76e-05/0.009061, allocations: 11.95 kB / 0.881 GB, free: 2.855 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.813e-05/0.009099, allocations: 7.797 kB / 0.881 GB, free: 2.844 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.762e-06/0.009106, allocations: 4.094 kB / 0.881 GB, free: 2.84 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.104e-05/0.009117, allocations: 7.984 kB / 0.881 GB, free: 2.832 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.00912, allocations: 0 / 0.881 GB, free: 2.832 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006701/0.00979, allocations: 422.4 kB / 0.8814 GB, free: 2.375 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-06/0.009793, allocations: 4 kB / 0.8814 GB, free: 2.371 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.009e-05/0.009823, allocations: 0 / 0.8814 GB, free: 2.371 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.234e-06/0.00983, allocations: 4 kB / 0.8814 GB, free: 2.367 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-06/0.009838, allocations: 0 / 0.8814 GB, free: 2.367 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.00984, allocations: 0 / 0.8814 GB, free: 2.367 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.009842, allocations: 0 / 0.8814 GB, free: 2.367 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001754/0.01002, allocations: 85.81 kB / 0.8815 GB, free: 2.262 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.688e-05/0.01005, allocations: 7.953 kB / 0.8815 GB, free: 2.254 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.453e-05/0.01008, allocations: 3.984 kB / 0.8815 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.121e-05/0.01011, allocations: 4.094 kB / 0.8815 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.797e-05/0.01013, allocations: 0 / 0.8815 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.337e-05/0.01014, allocations: 11.94 kB / 0.8815 GB, free: 2.234 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001467/0.01029, allocations: 105.6 kB / 0.8816 GB, free: 2.133 MB / 0.8386 GB Notification: Performance of sort global known variables: time 9e-08/0.01029, allocations: 0 / 0.8816 GB, free: 2.133 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003702/0.01066, allocations: 15.89 kB / 0.8816 GB, free: 2.117 MB / 0.8386 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.000175/0.01083, allocations: 95.25 kB / 0.8817 GB, free: 2.012 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001234/0.01096, allocations: 23.92 kB / 0.8817 GB, free: 1.988 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.01096, allocations: 4.125 kB / 0.8817 GB, free: 1.984 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.845e-05/0.01098, allocations: 4 kB / 0.8817 GB, free: 1.98 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002664/0.01124, allocations: 11.94 kB / 0.8818 GB, free: 1.969 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005338/0.01178, allocations: 181.8 kB / 0.8819 GB, free: 1.762 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001292/0.01191, allocations: 88.25 kB / 0.882 GB, free: 1.656 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.752e-05/0.01195, allocations: 8.125 kB / 0.882 GB, free: 1.648 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.634e-05/0.012, allocations: 12.5 kB / 0.882 GB, free: 1.637 MB / 0.8386 GB Notification: Performance of SimCode: time 7.51e-07/0.012, allocations: 3.938 kB / 0.882 GB, free: 1.633 MB / 0.8386 GB Notification: Performance of Templates: time 0.003856/0.01586, allocations: 358.3 kB / 0.8824 GB, free: 1.285 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_degC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.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.226388297975063]