Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_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.0008987/0.0008987, 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.001006/0.001006, allocations: 178.2 kB / 23.22 MB, free: 1.348 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.8527/0.8527, allocations: 177.1 MB / 203.5 MB, free: 5.445 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.739/1.739, allocations: 389 MB / 0.6338 GB, free: 12.68 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.To_inH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.502e-06/1.502e-06, allocations: 0 / 1.001 GB, free: 13.01 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.971e-05/3.121e-05, allocations: 10.16 kB / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O): time 0.001431/0.001462, allocations: 0.7868 MB / 1.002 GB, free: 12.21 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0001098/0.001572, allocations: 43.78 kB / 1.002 GB, free: 12.17 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.948e-05/0.001621, allocations: 0 / 1.002 GB, free: 12.17 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.916e-05/0.00166, allocations: 7.875 kB / 1.002 GB, free: 12.16 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 8.01e-05/0.00174, allocations: 19.86 kB / 1.002 GB, free: 12.14 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 4.329e-05/0.001784, allocations: 15.98 kB / 1.002 GB, free: 12.12 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001038/0.001888, allocations: 63.83 kB / 1.002 GB, free: 12.06 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/0.002016, allocations: 27.98 kB / 1.002 GB, free: 12.04 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 8.501e-05/0.002101, allocations: 43.83 kB / 1.002 GB, free: 11.99 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 3.738e-05/0.002139, allocations: 19.91 kB / 1.002 GB, free: 11.97 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.419e-05/0.002163, allocations: 4 kB / 1.002 GB, free: 11.97 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 6.793e-06/0.00217, allocations: 8 kB / 1.002 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.805e-05/0.002188, allocations: 11.94 kB / 1.002 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.782e-05/0.002216, allocations: 23.91 kB / 1.002 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001079/0.002324, allocations: 83.62 kB / 1.002 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.002326, allocations: 0 / 1.002 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.112e-06/0.002327, allocations: 0 / 1.002 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.002332, allocations: 0 / 1.002 GB, free: 11.84 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.0003706/0.002703, allocations: 306 kB / 1.002 GB, free: 11.51 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.002741, allocations: 8.75 kB / 1.002 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.345e-05/0.002775, allocations: 12.89 kB / 1.002 GB, free: 11.49 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001585/0.002933, allocations: 133.6 kB / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.002945, allocations: 4.375 kB / 1.002 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.078e-05/0.002956, allocations: 8.375 kB / 1.002 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001246/0.00308, allocations: 99.84 kB / 1.003 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.003089, allocations: 192 / 1.003 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.0031, allocations: 4.375 kB / 1.003 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.003106, allocations: 4.375 kB / 1.003 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.248e-05/0.003168, allocations: 39.86 kB / 1.003 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003665/0.003534, allocations: 356.4 kB / 1.003 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 5.661e-05/0.003591, allocations: 41.34 kB / 1.003 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.689e-05/0.003618, allocations: 13.78 kB / 1.003 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 6.532e-06/0.003624, allocations: 0 / 1.003 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.192e-05/0.003646, allocations: 42.5 kB / 1.003 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 8.91e-07/0.003647, allocations: 0 / 1.003 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0001441/0.003791, allocations: 57.58 kB / 1.003 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.936e-05/0.003831, allocations: 77.11 kB / 1.003 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.656e-05/0.003917, allocations: 129.8 kB / 1.003 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.087e-06/0.003926, allocations: 29.64 kB / 1.003 GB, free: 10.33 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.423e-05/0.003981, allocations: 111.9 kB / 1.003 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 6.732e-06/0.003987, allocations: 7.953 kB / 1.003 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.686e-05/0.004014, allocations: 17.72 kB / 1.003 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.651e-05/0.004091, allocations: 319.1 kB / 1.004 GB, free: 9.863 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.542e-05/0.004106, allocations: 11.94 kB / 1.004 GB, free: 9.852 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.579e-05/0.004122, allocations: 13.72 kB / 1.004 GB, free: 9.832 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.565e-05/0.004158, allocations: 29.72 kB / 1.004 GB, free: 9.797 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.004159, allocations: 0 / 1.004 GB, free: 9.797 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.118e-05/0.004221, allocations: 57.58 kB / 1.004 GB, free: 9.734 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.004235, allocations: 5.25 kB / 1.004 GB, free: 9.73 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.00424, allocations: 0 / 1.004 GB, free: 9.73 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.004254, allocations: 4.062 kB / 1.004 GB, free: 9.727 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.526e-05/0.004309, allocations: 8 kB / 1.004 GB, free: 9.719 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.004315, allocations: 3.938 kB / 1.004 GB, free: 9.715 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.555e-05/0.00433, allocations: 4 kB / 1.004 GB, free: 9.711 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.538e-06/0.004335, allocations: 4 kB / 1.004 GB, free: 9.707 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 6.015e-05/0.004395, allocations: 117.8 kB / 1.004 GB, free: 9.582 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.115e-05/0.004416, allocations: 3.953 kB / 1.004 GB, free: 9.578 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.938e-05/0.004435, allocations: 7.469 kB / 1.004 GB, free: 9.566 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.004437, allocations: 0 / 1.004 GB, free: 9.566 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.004441, allocations: 0 / 1.004 GB, free: 9.566 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.004445, allocations: 11.97 kB / 1.004 GB, free: 9.555 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002489/0.004694, allocations: 414.5 kB / 1.004 GB, free: 9.105 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.004696, allocations: 4 kB / 1.004 GB, free: 9.102 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.178e-05/0.004708, allocations: 3.938 kB / 1.004 GB, free: 9.098 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.004713, allocations: 8 kB / 1.004 GB, free: 9.09 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.004e-06/0.00472, allocations: 3.938 kB / 1.004 GB, free: 9.086 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.004721, allocations: 0 / 1.004 GB, free: 9.086 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.004722, allocations: 0 / 1.004 GB, free: 9.086 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.227e-05/0.004774, allocations: 74.72 kB / 1.005 GB, free: 8.992 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.789e-05/0.004792, allocations: 11.94 kB / 1.005 GB, free: 8.98 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.094e-05/0.004803, allocations: 8.031 kB / 1.005 GB, free: 8.973 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.586e-06/0.004812, allocations: 0 / 1.005 GB, free: 8.973 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.636e-05/0.004828, allocations: 7.984 kB / 1.005 GB, free: 8.965 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-06/0.00483, allocations: 0 / 1.005 GB, free: 8.965 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.29e-05/0.004873, allocations: 106.6 kB / 1.005 GB, free: 8.863 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.004873, allocations: 0 / 1.005 GB, free: 8.863 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001265/0.004999, allocations: 11.95 kB / 1.005 GB, free: 8.852 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 8.116e-05/0.00508, allocations: 95.25 kB / 1.005 GB, free: 8.75 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 7.166e-05/0.005152, allocations: 16 kB / 1.005 GB, free: 8.734 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.005153, allocations: 0 / 1.005 GB, free: 8.734 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 8.456e-06/0.005162, allocations: 15.86 kB / 1.005 GB, free: 8.719 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001174/0.005279, allocations: 8 kB / 1.005 GB, free: 8.711 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002683/0.005548, allocations: 184.3 kB / 1.005 GB, free: 8.488 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001941/0.005742, allocations: 75.33 kB / 1.005 GB, free: 8.395 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.735e-05/0.005769, allocations: 16.48 kB / 1.005 GB, free: 8.379 MB / 0.9636 GB Notification: Performance of SimCode: time 3.9e-07/0.005769, allocations: 4.25 kB / 1.005 GB, free: 8.375 MB / 0.9636 GB Notification: Performance of Templates: time 0.001547/0.007317, allocations: 0.7936 MB / 1.006 GB, free: 7.578 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_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.4969789599999785]