Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.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.001319/0.001319, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 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.001611/0.001611, allocations: 173.9 kB / 23.21 MB, free: 1.355 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 0.9226/0.9226, allocations: 177.1 MB / 203.5 MB, free: 5.707 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.753/1.753, allocations: 377.8 MB / 0.6228 GB, free: 8.66 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 3.938 kB / 0.9822 GB, free: 2.09 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.641e-05/2.831e-05, allocations: 6.281 kB / 0.9822 GB, free: 2.082 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O): time 0.001549/0.001577, allocations: 0.7828 MB / 0.983 GB, free: 1.301 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0001068/0.001684, allocations: 43.78 kB / 0.983 GB, free: 1.258 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.372e-05/0.001738, allocations: 8 kB / 0.983 GB, free: 1.25 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.682e-05/0.001774, allocations: 7.875 kB / 0.983 GB, free: 1.242 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 7.975e-05/0.001854, allocations: 11.86 kB / 0.983 GB, free: 1.23 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 4.214e-05/0.001896, allocations: 15.98 kB / 0.9831 GB, free: 1.215 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 9.773e-05/0.001994, allocations: 63.84 kB / 0.9831 GB, free: 1.152 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001222/0.002116, allocations: 23.97 kB / 0.9831 GB, free: 1.129 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 6.644e-05/0.002183, allocations: 35.91 kB / 0.9832 GB, free: 1.094 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 5.311e-05/0.002236, allocations: 19.91 kB / 0.9832 GB, free: 1.074 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.635e-05/0.002262, allocations: 11.98 kB / 0.9832 GB, free: 1.062 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 7.204e-06/0.002269, allocations: 4 kB / 0.9832 GB, free: 1.059 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.931e-05/0.002289, allocations: 15.94 kB / 0.9832 GB, free: 1.043 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.788e-05/0.002316, allocations: 23.92 kB / 0.9833 GB, free: 1.02 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001037/0.00242, allocations: 75.58 kB / 0.9833 GB, free: 0.9453 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.514e-06/0.002423, allocations: 0 / 0.9833 GB, free: 0.9453 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.112e-06/0.002424, allocations: 4 kB / 0.9833 GB, free: 0.9414 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.002429, allocations: 0 / 0.9833 GB, free: 0.9414 MB / 0.9323 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.0003574/0.002786, allocations: 302 kB / 0.9836 GB, free: 0.6133 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.002823, allocations: 12.03 kB / 0.9836 GB, free: 0.6016 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.601e-05/0.002859, allocations: 20.84 kB / 0.9836 GB, free: 0.582 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001569/0.003016, allocations: 137.6 kB / 0.9838 GB, free: 432 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.011e-05/0.003026, allocations: 384 / 0.9838 GB, free: 432 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.311e-05/0.003039, allocations: 16.38 kB / 0.9838 GB, free: 416 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001208/0.00316, allocations: 90.61 kB / 0.9839 GB, free: 316 kB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.003169, allocations: 192 / 0.9839 GB, free: 316 kB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.699e-06/0.003178, allocations: 384 / 0.9839 GB, free: 316 kB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.003184, allocations: 8.359 kB / 0.9839 GB, free: 308 kB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.666e-05/0.003251, allocations: 47.8 kB / 0.9839 GB, free: 260 kB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003793/0.00363, allocations: 344.4 kB / 0.9843 GB, free: 15.88 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.14e-05/0.003682, allocations: 45.27 kB / 0.9843 GB, free: 15.82 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.991e-05/0.003711, allocations: 21.84 kB / 0.9843 GB, free: 15.79 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.102e-06/0.003718, allocations: 0 / 0.9843 GB, free: 15.79 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.953e-05/0.003737, allocations: 34.56 kB / 0.9844 GB, free: 15.75 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.003738, allocations: 0 / 0.9844 GB, free: 15.75 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0001465/0.003885, allocations: 53.58 kB / 0.9844 GB, free: 15.69 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.74e-05/0.003922, allocations: 81.11 kB / 0.9845 GB, free: 15.59 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.926e-05/0.004011, allocations: 131.3 kB / 0.9846 GB, free: 15.46 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.895e-06/0.004019, allocations: 25.7 kB / 0.9846 GB, free: 15.43 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.196e-05/0.004071, allocations: 111.9 kB / 0.9847 GB, free: 15.31 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 7.965e-06/0.004079, allocations: 8.188 kB / 0.9848 GB, free: 15.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.809e-05/0.004107, allocations: 25.67 kB / 0.9848 GB, free: 15.27 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002104/0.004318, allocations: 318.8 kB / 0.9851 GB, free: 14.95 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.46e-05/0.004332, allocations: 4 kB / 0.9851 GB, free: 14.95 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.807e-05/0.00435, allocations: 25.69 kB / 0.9851 GB, free: 14.92 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.351e-05/0.004384, allocations: 25.72 kB / 0.9851 GB, free: 14.89 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.004386, allocations: 0 / 0.9851 GB, free: 14.89 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.667e-05/0.004443, allocations: 53.62 kB / 0.9852 GB, free: 14.83 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.004456, allocations: 8 kB / 0.9852 GB, free: 14.82 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.004461, allocations: 4.062 kB / 0.9852 GB, free: 14.82 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.004473, allocations: 0 / 0.9852 GB, free: 14.82 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.349e-05/0.004527, allocations: 4 kB / 0.9852 GB, free: 14.81 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.004533, allocations: 7.938 kB / 0.9852 GB, free: 14.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.64e-05/0.004549, allocations: 4 kB / 0.9852 GB, free: 14.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.637e-06/0.004553, allocations: 0 / 0.9852 GB, free: 14.8 MB / 0.948 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 5.499e-05/0.004608, allocations: 113.8 kB / 0.9853 GB, free: 14.68 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.174e-05/0.004629, allocations: 7.953 kB / 0.9853 GB, free: 14.67 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.713e-05/0.004646, allocations: 7.453 kB / 0.9853 GB, free: 14.67 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.004649, allocations: 4 kB / 0.9853 GB, free: 14.66 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.004653, allocations: 7.938 kB / 0.9853 GB, free: 14.66 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.004657, allocations: 3.938 kB / 0.9854 GB, free: 14.65 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000241/0.004898, allocations: 418.4 kB / 0.9858 GB, free: 14.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.004899, allocations: 0 / 0.9858 GB, free: 14.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.969e-06/0.004909, allocations: 7.938 kB / 0.9858 GB, free: 14.19 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.492e-06/0.004911, allocations: 0 / 0.9858 GB, free: 14.19 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.164e-06/0.004918, allocations: 3.938 kB / 0.9858 GB, free: 14.19 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.004919, allocations: 0 / 0.9858 GB, free: 14.19 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.00492, allocations: 4 kB / 0.9858 GB, free: 14.18 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.239e-05/0.004973, allocations: 78.05 kB / 0.9858 GB, free: 14.09 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.582e-05/0.004988, allocations: 7.953 kB / 0.9858 GB, free: 14.08 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.035e-05/0.004999, allocations: 11.88 kB / 0.9859 GB, free: 14.07 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.306e-06/0.005007, allocations: 0 / 0.9859 GB, free: 14.07 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.079e-05/0.005018, allocations: 0 / 0.9859 GB, free: 14.07 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-06/0.005019, allocations: 0 / 0.9859 GB, free: 14.07 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.115e-05/0.005061, allocations: 114.6 kB / 0.986 GB, free: 13.96 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.005061, allocations: 3.938 kB / 0.986 GB, free: 13.95 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001311/0.005192, allocations: 11.95 kB / 0.986 GB, free: 13.94 MB / 0.948 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 8.024e-05/0.005272, allocations: 95.77 kB / 0.9861 GB, free: 13.84 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 7.024e-05/0.005342, allocations: 20.03 kB / 0.9861 GB, free: 13.82 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.005344, allocations: 0 / 0.9861 GB, free: 13.82 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 7.254e-06/0.005351, allocations: 7.938 kB / 0.9861 GB, free: 13.81 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001217/0.005473, allocations: 8 kB / 0.9861 GB, free: 13.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002497/0.005722, allocations: 188.2 kB / 0.9863 GB, free: 13.57 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.389e-05/0.005766, allocations: 75.58 kB / 0.9864 GB, free: 13.48 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.113e-05/0.005788, allocations: 12.5 kB / 0.9864 GB, free: 13.46 MB / 0.948 GB Notification: Performance of SimCode: time 5.91e-07/0.005788, allocations: 0 / 0.9864 GB, free: 13.46 MB / 0.948 GB Notification: Performance of Templates: time 0.001475/0.007263, allocations: 0.8014 MB / 0.9872 GB, free: 12.66 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.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: 6.5237327283248305]