Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.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.0008397/0.0008397, allocations: 72.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.0008008/0.0008008, allocations: 177.9 kB / 23.21 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.9028/0.9028, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.738/1.738, allocations: 377.9 MB / 0.6229 GB, free: 8.664 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.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senMasFlo.m_flow|senH.h_out|senH_flow.H_flow|cheEqu.y",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senMasFlo.m_flow|senH.h_out|senH_flow.H_flow|cheEqu.y",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 0.9822 GB, free: 2.07 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.973e-05/3.17e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.066 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.6745/0.6745, allocations: 147.7 MB / 1.126 GB, free: 13.2 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.005616/0.6801, allocations: 5.985 MB / 1.132 GB, free: 9.176 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005801/0.6807, allocations: 20.09 kB / 1.132 GB, free: 9.164 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006101/0.6813, allocations: 174.2 kB / 1.133 GB, free: 9.051 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0025/0.6838, allocations: 0.8603 MB / 1.133 GB, free: 8.602 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001189/0.685, allocations: 379.6 kB / 1.134 GB, free: 8.422 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001015/0.686, allocations: 0.7086 MB / 1.134 GB, free: 8.094 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004106/0.6864, allocations: 211.3 kB / 1.135 GB, free: 7.996 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001693/0.6881, allocations: 0.8182 MB / 1.135 GB, free: 7.633 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003587/0.6885, allocations: 245.2 kB / 1.136 GB, free: 7.555 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 4.329e-05/0.6885, allocations: 26.81 kB / 1.136 GB, free: 7.551 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000639/0.6892, allocations: 287 kB / 1.136 GB, free: 7.461 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001387/0.6893, allocations: 124.5 kB / 1.136 GB, free: 7.398 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001142/0.6894, allocations: 111.3 kB / 1.136 GB, free: 7.355 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006769/0.6901, allocations: 481.8 kB / 1.137 GB, free: 7.184 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.6901, allocations: 1.156 kB / 1.137 GB, free: 7.184 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.726e-06/0.6901, allocations: 0 / 1.137 GB, free: 7.184 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 8.716e-06/0.6901, allocations: 0 / 1.137 GB, free: 7.184 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0007536/0.6909, allocations: 0.5502 MB / 1.137 GB, free: 6.746 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/0.6909, allocations: 10.52 kB / 1.137 GB, free: 6.746 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000272/0.6912, allocations: 58.28 kB / 1.137 GB, free: 6.727 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004311/0.6916, allocations: 270.6 kB / 1.138 GB, free: 6.52 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.405e-05/0.6916, allocations: 18.5 kB / 1.138 GB, free: 6.512 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.133e-05/0.6917, allocations: 25.97 kB / 1.138 GB, free: 6.504 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004388/0.6921, allocations: 317 kB / 1.138 GB, free: 6.332 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.6921, allocations: 1.125 kB / 1.138 GB, free: 6.332 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.008e-05/0.6921, allocations: 11.69 kB / 1.138 GB, free: 6.324 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.879e-06/0.6921, allocations: 8.062 kB / 1.138 GB, free: 6.324 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002835/0.6924, allocations: 210.2 kB / 1.138 GB, free: 6.258 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000947/0.6934, allocations: 1.118 MB / 1.139 GB, free: 5.367 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000213/0.6936, allocations: 110.1 kB / 1.139 GB, free: 5.316 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001187/0.6937, allocations: 86.39 kB / 1.139 GB, free: 5.285 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000316/0.694, allocations: 71.56 kB / 1.139 GB, free: 5.281 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.078e-05/0.694, allocations: 36.39 kB / 1.139 GB, free: 5.238 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=13): time 2.274e-06/0.694, allocations: 3.984 kB / 1.139 GB, free: 5.234 MB / 0.9948 GB Notification: Performance of matching and sorting (n=13): time 0.0005248/0.6946, allocations: 267.6 kB / 1.14 GB, free: 5.133 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.754e-05/0.6946, allocations: 54.03 kB / 1.14 GB, free: 5.07 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001763/0.6948, allocations: 222.6 kB / 1.14 GB, free: 4.941 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/0.6948, allocations: 34.77 kB / 1.14 GB, free: 4.902 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 9.882e-05/0.6949, allocations: 197.2 kB / 1.14 GB, free: 4.738 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 2.38e-05/0.6949, allocations: 48.42 kB / 1.14 GB, free: 4.699 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.346e-05/0.695, allocations: 42.03 kB / 1.14 GB, free: 4.668 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 4.793e-05/0.695, allocations: 335.2 kB / 1.141 GB, free: 4.344 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000101/0.6951, allocations: 59.84 kB / 1.141 GB, free: 4.328 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001444/0.6953, allocations: 190 kB / 1.141 GB, free: 4.168 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002201/0.6955, allocations: 174.7 kB / 1.141 GB, free: 4.07 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.6955, allocations: 1.094 kB / 1.141 GB, free: 4.07 MB / 0.9948 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002847/0.6958, allocations: 208.7 kB / 1.141 GB, free: 3.98 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.6958, allocations: 9.75 kB / 1.141 GB, free: 3.977 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.6958, allocations: 5.797 kB / 1.141 GB, free: 3.973 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.046e-05/0.6958, allocations: 2.312 kB / 1.141 GB, free: 3.973 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.6959, allocations: 37.06 kB / 1.141 GB, free: 3.969 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.784e-06/0.6959, allocations: 5.812 kB / 1.141 GB, free: 3.965 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.184e-05/0.696, allocations: 15.64 kB / 1.141 GB, free: 3.961 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.518e-05/0.6961, allocations: 6.781 kB / 1.141 GB, free: 3.961 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (17): * Single equations (assignments): 17 * 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 9.465e-05/0.6962, allocations: 153.3 kB / 1.141 GB, free: 3.824 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.748e-05/0.6962, allocations: 23.34 kB / 1.141 GB, free: 3.812 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003094/0.6965, allocations: 209.7 kB / 1.142 GB, free: 3.719 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.6965, allocations: 1.594 kB / 1.142 GB, free: 3.719 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.6965, allocations: 4 kB / 1.142 GB, free: 3.715 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/0.6965, allocations: 2.625 kB / 1.142 GB, free: 3.715 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007011/0.6972, allocations: 0.5946 MB / 1.142 GB, free: 3.312 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-06/0.6972, allocations: 3.125 kB / 1.142 GB, free: 3.312 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.354e-05/0.6973, allocations: 34.3 kB / 1.142 GB, free: 3.305 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.6973, allocations: 2.875 kB / 1.142 GB, free: 3.305 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.6973, allocations: 3.406 kB / 1.142 GB, free: 3.305 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.6973, allocations: 2.938 kB / 1.142 GB, free: 3.305 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.6973, allocations: 9.297 kB / 1.142 GB, free: 3.301 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002721/0.6976, allocations: 329.8 kB / 1.143 GB, free: 3.059 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.801e-05/0.6977, allocations: 36.98 kB / 1.143 GB, free: 3.039 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.402e-05/0.6977, allocations: 4.422 kB / 1.143 GB, free: 3.039 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.399e-05/0.6977, allocations: 15.08 kB / 1.143 GB, free: 3.031 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.409e-05/0.6978, allocations: 18.75 kB / 1.143 GB, free: 3.023 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.023e-05/0.6978, allocations: 9.438 kB / 1.143 GB, free: 3.02 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0001099/0.6979, allocations: 161.7 kB / 1.143 GB, free: 2.918 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5e-08/0.6979, allocations: 0 / 1.143 GB, free: 2.918 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0003486/0.6983, allocations: 80.83 kB / 1.143 GB, free: 2.898 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (13): * Single equations (assignments): 13 * 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.0002862/0.6986, allocations: 139.4 kB / 1.143 GB, free: 2.793 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0003261/0.6989, allocations: 156.6 kB / 1.143 GB, free: 2.746 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.6989, allocations: 5.062 kB / 1.143 GB, free: 2.742 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001237/0.699, allocations: 84.41 kB / 1.143 GB, free: 2.715 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004553/0.6995, allocations: 79.19 kB / 1.143 GB, free: 2.703 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007668/0.7002, allocations: 0.5511 MB / 1.144 GB, free: 2.309 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001574/0.7004, allocations: 176 kB / 1.144 GB, free: 2.219 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.417e-05/0.7004, allocations: 22.38 kB / 1.144 GB, free: 2.211 MB / 0.9948 GB Notification: Performance of SimCode: time 8.31e-07/0.7004, allocations: 0 / 1.144 GB, free: 2.211 MB / 0.9948 GB Notification: Performance of Templates: time 0.007357/0.7078, allocations: 3.933 MB / 1.148 GB, free: 1.816 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.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: 7.730315804481506]