Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001343/0.001343, allocations: 113 kB / 17.6 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 186.8 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 225.6 MB / 249.4 MB, free: 3.27 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.882/2.882, allocations: 476.7 MB / 0.7629 GB, free: 15.13 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senM_flow.m_flow|senH.h_out|senH_flow.H_flow|cheEqu.y",fileNamePrefix="Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senM_flow.m_flow|senH.h_out|senH_flow.H_flow|cheEqu.y",fileNamePrefix="Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002108/0.002108, allocations: 59.91 kB / 1.107 GB, free: 4.551 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.124/1.126, allocations: 168.7 MB / 1.272 GB, free: 7.902 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.2448/1.371, allocations: 168.3 MB / 1.436 GB, free: 10.08 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.009662/1.38, allocations: 6.619 MB / 1.443 GB, free: 4.746 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007841/1.381, allocations: 17.06 kB / 1.443 GB, free: 4.738 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0006817/1.382, allocations: 181.6 kB / 1.443 GB, free: 4.578 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.002793/1.385, allocations: 0.8739 MB / 1.444 GB, free: 3.922 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001136/1.386, allocations: 328.2 kB / 1.444 GB, free: 3.684 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001085/1.387, allocations: 0.734 MB / 1.445 GB, free: 3.254 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004386/1.387, allocations: 217.9 kB / 1.445 GB, free: 3.113 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001316/1.389, allocations: 0.5683 MB / 1.446 GB, free: 2.758 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000433/1.389, allocations: 284.6 kB / 1.446 GB, free: 2.543 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 4.413e-05/1.389, allocations: 24 kB / 1.446 GB, free: 2.52 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007821/1.39, allocations: 363.1 kB / 1.446 GB, free: 2.164 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0001462/1.39, allocations: 111.6 kB / 1.446 GB, free: 2.055 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0001858/1.39, allocations: 163.2 kB / 1.447 GB, free: 1.895 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0007421/1.391, allocations: 477 kB / 1.447 GB, free: 1.43 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/1.391, allocations: 0 / 1.447 GB, free: 1.43 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.312e-06/1.391, allocations: 0 / 1.447 GB, free: 1.43 MB / 1.123 GB Notification: Performance of Transformations before backend: time 7.955e-06/1.391, allocations: 0 / 1.447 GB, free: 1.43 MB / 1.123 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.001014/1.392, allocations: 0.6307 MB / 1.448 GB, free: 0.75 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/1.392, allocations: 8.031 kB / 1.448 GB, free: 0.7422 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003413/1.392, allocations: 55.78 kB / 1.448 GB, free: 0.6875 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005899/1.393, allocations: 333.3 kB / 1.448 GB, free: 328 kB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.657e-05/1.393, allocations: 20.56 kB / 1.448 GB, free: 308 kB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.692e-05/1.393, allocations: 24 kB / 1.448 GB, free: 284 kB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005963/1.394, allocations: 323.7 kB / 1.448 GB, free: 15.93 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/1.394, allocations: 0 / 1.448 GB, free: 15.93 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.038e-05/1.394, allocations: 15.98 kB / 1.448 GB, free: 15.92 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.268e-06/1.394, allocations: 4 kB / 1.448 GB, free: 15.91 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004313/1.394, allocations: 209.5 kB / 1.449 GB, free: 15.71 MB / 1.139 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001658/1.396, allocations: 1.523 MB / 1.45 GB, free: 14.05 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002783/1.396, allocations: 122.4 kB / 1.45 GB, free: 13.93 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001822/1.396, allocations: 88.8 kB / 1.45 GB, free: 13.84 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006205/1.397, allocations: 299.2 kB / 1.451 GB, free: 13.49 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.443e-05/1.397, allocations: 34.56 kB / 1.451 GB, free: 13.45 MB / 1.139 GB Notification: Performance of pre-optimization done (n=13): time 1.182e-06/1.397, allocations: 0 / 1.451 GB, free: 13.45 MB / 1.139 GB Notification: Performance of matching and sorting (n=13): time 0.0007518/1.398, allocations: 277.2 kB / 1.451 GB, free: 13.17 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.294e-05/1.398, allocations: 55.34 kB / 1.451 GB, free: 13.11 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003333/1.398, allocations: 312.5 kB / 1.451 GB, free: 12.79 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 2.861e-05/1.398, allocations: 33.64 kB / 1.451 GB, free: 12.75 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001429/1.398, allocations: 180.3 kB / 1.451 GB, free: 12.57 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 4.416e-05/1.398, allocations: 55.53 kB / 1.451 GB, free: 12.52 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.066e-05/1.398, allocations: 37.7 kB / 1.451 GB, free: 12.48 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0002049/1.399, allocations: 338.8 kB / 1.452 GB, free: 12.14 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001537/1.399, allocations: 59.95 kB / 1.452 GB, free: 12.08 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001973/1.399, allocations: 116.9 kB / 1.452 GB, free: 11.95 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003195/1.399, allocations: 169 kB / 1.452 GB, free: 11.76 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/1.399, allocations: 3.938 kB / 1.452 GB, free: 11.76 MB / 1.139 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004184/1.4, allocations: 225.3 kB / 1.452 GB, free: 11.53 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/1.4, allocations: 4 kB / 1.452 GB, free: 11.53 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/1.4, allocations: 0 / 1.452 GB, free: 11.53 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.229e-05/1.4, allocations: 4 kB / 1.452 GB, free: 11.52 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001804/1.4, allocations: 31.92 kB / 1.452 GB, free: 11.49 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.216e-05/1.4, allocations: 7.984 kB / 1.452 GB, free: 11.48 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001626/1.4, allocations: 27.98 kB / 1.452 GB, free: 11.46 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.918e-05/1.4, allocations: 11.98 kB / 1.452 GB, free: 11.45 MB / 1.139 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 0.0001564/1.4, allocations: 153.7 kB / 1.453 GB, free: 11.29 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.11e-05/1.4, allocations: 27.81 kB / 1.453 GB, free: 11.26 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004804/1.401, allocations: 212.3 kB / 1.453 GB, free: 11.04 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/1.401, allocations: 0 / 1.453 GB, free: 11.04 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/1.401, allocations: 4 kB / 1.453 GB, free: 11.04 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/1.401, allocations: 3.984 kB / 1.453 GB, free: 11.03 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001041/1.402, allocations: 0.6874 MB / 1.453 GB, free: 10.27 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/1.402, allocations: 0 / 1.453 GB, free: 10.27 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001282/1.402, allocations: 23.98 kB / 1.453 GB, free: 10.24 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/1.402, allocations: 4 kB / 1.453 GB, free: 10.24 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.716e-05/1.402, allocations: 8 kB / 1.453 GB, free: 10.23 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.182e-06/1.402, allocations: 7.938 kB / 1.453 GB, free: 10.22 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/1.402, allocations: 3.938 kB / 1.453 GB, free: 10.22 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004579/1.403, allocations: 337.4 kB / 1.454 GB, free: 9.852 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001139/1.403, allocations: 120.8 kB / 1.454 GB, free: 9.715 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.966e-05/1.403, allocations: 4 kB / 1.454 GB, free: 9.711 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001534/1.403, allocations: 15.92 kB / 1.454 GB, free: 9.695 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.56e-05/1.403, allocations: 11.98 kB / 1.454 GB, free: 9.684 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.226e-05/1.403, allocations: 8 kB / 1.454 GB, free: 9.676 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0002208/1.403, allocations: 223 kB / 1.454 GB, free: 9.461 MB / 1.139 GB Notification: Performance of sort global known variables: time 9e-08/1.403, allocations: 0 / 1.454 GB, free: 9.461 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0003757/1.403, allocations: 75.89 kB / 1.454 GB, free: 9.387 MB / 1.139 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.0004514/1.404, allocations: 167.6 kB / 1.454 GB, free: 9.219 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0004142/1.404, allocations: 155.8 kB / 1.455 GB, free: 9.066 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/1.404, allocations: 4 kB / 1.455 GB, free: 9.062 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0001826/1.405, allocations: 72.64 kB / 1.455 GB, free: 8.992 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000806/1.405, allocations: 166.2 kB / 1.455 GB, free: 8.836 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009506/1.406, allocations: 0.544 MB / 1.455 GB, free: 8.246 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004184/1.407, allocations: 0.7834 MB / 1.456 GB, free: 7.434 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0001712/1.407, allocations: 54.94 kB / 1.456 GB, free: 7.379 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.975e-05/1.407, allocations: 23.44 kB / 1.456 GB, free: 7.355 MB / 1.139 GB Notification: Performance of SimCode: time 5.91e-07/1.407, allocations: 0 / 1.456 GB, free: 7.355 MB / 1.139 GB Notification: Performance of Templates: time 0.01116/1.418, allocations: 5.228 MB / 1.461 GB, free: 2.215 MB / 1.139 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.899532984942198]