Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0007874/0.0007874, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.0007768/0.0007768, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.8385/0.8385, allocations: 177.1 MB / 203.5 MB, free: 5.406 MB / 186.7 MB " [Timeout remaining time 179] 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 1.74/1.74, allocations: 389 MB / 0.6338 GB, free: 12.71 MB / 0.6042 GB " [Timeout remaining time 178] 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.From_inH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.243e-06/1.243e-06, allocations: 0 / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.647e-05/1.771e-05, allocations: 2.281 kB / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O): time 0.001225/0.001243, allocations: 0.7868 MB / 1.002 GB, free: 12.21 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 9.664e-05/0.001339, allocations: 39.78 kB / 1.002 GB, free: 12.18 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.326e-05/0.001383, allocations: 4 kB / 1.002 GB, free: 12.17 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.28e-05/0.001416, allocations: 7.875 kB / 1.002 GB, free: 12.16 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.518e-05/0.001491, allocations: 15.91 kB / 1.002 GB, free: 12.15 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 3.895e-05/0.00153, allocations: 15.98 kB / 1.002 GB, free: 12.13 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 8.991e-05/0.00162, allocations: 63.78 kB / 1.002 GB, free: 12.07 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.001733, allocations: 31.91 kB / 1.002 GB, free: 12.04 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 6.266e-05/0.001796, allocations: 35.91 kB / 1.002 GB, free: 12 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.909e-05/0.001845, allocations: 27.91 kB / 1.002 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.279e-05/0.001868, allocations: 4 kB / 1.002 GB, free: 11.97 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 7.153e-06/0.001875, allocations: 8 kB / 1.002 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.642e-05/0.001892, allocations: 11.92 kB / 1.002 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.483e-05/0.001916, allocations: 23.92 kB / 1.002 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 9.451e-05/0.002011, allocations: 71.7 kB / 1.002 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.002013, allocations: 0 / 1.002 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of FrontEnd: time 8.31e-07/0.002013, allocations: 0 / 1.002 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.427e-06/0.002017, allocations: 3.938 kB / 1.002 GB, free: 11.86 MB / 0.9636 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.0003293/0.002346, allocations: 306 kB / 1.002 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.002382, allocations: 8.75 kB / 1.002 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.798e-05/0.00241, allocations: 12.89 kB / 1.002 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001435/0.002553, allocations: 137.6 kB / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.002564, allocations: 4.375 kB / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.067e-05/0.002574, allocations: 8.375 kB / 1.002 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001155/0.00269, allocations: 93.56 kB / 1.003 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.002699, allocations: 4.125 kB / 1.003 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.00271, allocations: 8.375 kB / 1.003 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.002715, allocations: 384 / 1.003 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.855e-05/0.002773, allocations: 39.92 kB / 1.003 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003419/0.003115, allocations: 356.6 kB / 1.003 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 4.369e-05/0.003159, allocations: 37.09 kB / 1.003 GB, free: 10.74 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.721e-05/0.003186, allocations: 21.84 kB / 1.003 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 6.121e-06/0.003192, allocations: 0 / 1.003 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.973e-05/0.003212, allocations: 34.5 kB / 1.003 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 7.41e-07/0.003213, allocations: 0 / 1.003 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0001341/0.003347, allocations: 53.64 kB / 1.003 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.363e-05/0.00338, allocations: 85.05 kB / 1.003 GB, free: 10.51 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.028e-05/0.003461, allocations: 132.8 kB / 1.003 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.337e-06/0.00347, allocations: 33.69 kB / 1.003 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.055e-05/0.00352, allocations: 111.9 kB / 1.003 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 6.853e-06/0.003527, allocations: 3.953 kB / 1.003 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.472e-05/0.003552, allocations: 17.72 kB / 1.003 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.809e-05/0.00362, allocations: 314.8 kB / 1.004 GB, free: 9.879 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.443e-05/0.003635, allocations: 11.98 kB / 1.004 GB, free: 9.867 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.44e-05/0.003649, allocations: 13.72 kB / 1.004 GB, free: 9.848 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.112e-05/0.00368, allocations: 25.72 kB / 1.004 GB, free: 9.816 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.003682, allocations: 0 / 1.004 GB, free: 9.816 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.261e-05/0.003735, allocations: 61.58 kB / 1.004 GB, free: 9.75 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.003746, allocations: 8 kB / 1.004 GB, free: 9.742 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.00375, allocations: 0 / 1.004 GB, free: 9.742 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.003762, allocations: 3.938 kB / 1.004 GB, free: 9.738 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.515e-05/0.003807, allocations: 4 kB / 1.004 GB, free: 9.734 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.003813, allocations: 7.938 kB / 1.004 GB, free: 9.727 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.316e-05/0.003826, allocations: 0 / 1.004 GB, free: 9.727 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.226e-06/0.003829, allocations: 3.938 kB / 1.004 GB, free: 9.723 MB / 0.9636 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.286e-05/0.003882, allocations: 113.8 kB / 1.004 GB, free: 9.602 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.068e-05/0.003903, allocations: 16 kB / 1.004 GB, free: 9.586 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.78e-05/0.003921, allocations: 11.47 kB / 1.004 GB, free: 9.57 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.003922, allocations: 0 / 1.004 GB, free: 9.57 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.003926, allocations: 4 kB / 1.004 GB, free: 9.566 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.003929, allocations: 4.031 kB / 1.004 GB, free: 9.562 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002272/0.004156, allocations: 418.4 kB / 1.004 GB, free: 9.109 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.004157, allocations: 0 / 1.004 GB, free: 9.109 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.087e-05/0.004168, allocations: 4 kB / 1.004 GB, free: 9.105 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.41e-07/0.004169, allocations: 0 / 1.004 GB, free: 9.105 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.202e-06/0.004175, allocations: 3.938 kB / 1.004 GB, free: 9.102 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.004176, allocations: 4.062 kB / 1.004 GB, free: 9.098 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.004178, allocations: 7.984 kB / 1.004 GB, free: 9.09 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.997e-05/0.004228, allocations: 78.66 kB / 1.005 GB, free: 8.992 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.414e-05/0.004242, allocations: 8 kB / 1.005 GB, free: 8.984 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.07e-05/0.004253, allocations: 7.938 kB / 1.005 GB, free: 8.977 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.725e-06/0.00426, allocations: 0 / 1.005 GB, free: 8.977 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.068e-05/0.004271, allocations: 0 / 1.005 GB, free: 8.977 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-06/0.004274, allocations: 7.984 kB / 1.005 GB, free: 8.969 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.686e-05/0.004311, allocations: 95.27 kB / 1.005 GB, free: 8.875 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.004311, allocations: 0 / 1.005 GB, free: 8.875 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001282/0.004439, allocations: 19.98 kB / 1.005 GB, free: 8.855 MB / 0.9636 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 6.539e-05/0.004504, allocations: 91.25 kB / 1.005 GB, free: 8.758 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 6.33e-05/0.004568, allocations: 19.94 kB / 1.005 GB, free: 8.738 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.004569, allocations: 3.938 kB / 1.005 GB, free: 8.734 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 5.971e-06/0.004575, allocations: 4 kB / 1.005 GB, free: 8.73 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001029/0.004678, allocations: 4 kB / 1.005 GB, free: 8.727 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002284/0.004906, allocations: 192.5 kB / 1.005 GB, free: 8.496 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.165e-05/0.004948, allocations: 79.33 kB / 1.005 GB, free: 8.398 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.422e-05/0.004972, allocations: 8.5 kB / 1.005 GB, free: 8.391 MB / 0.9636 GB Notification: Performance of SimCode: time 5.11e-07/0.004973, allocations: 0 / 1.005 GB, free: 8.391 MB / 0.9636 GB Notification: Performance of Templates: time 0.001587/0.006559, allocations: 0.8045 MB / 1.006 GB, free: 7.586 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.279676121659577]