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.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.002092/0.002092, allocations: 77.08 kB / 19.18 MB, free: 2.527 MB / 14.72 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.002488/0.002488, allocations: 169.5 kB / 22.46 MB, free: 5.359 MB / 14.72 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 1.541/1.541, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.706/2.706, allocations: 359 MB / 0.6037 GB, free: 14.97 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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|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 2.073e-06/2.073e-06, allocations: 0 / 0.951 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.148e-05/3.355e-05, allocations: 8.188 kB / 0.951 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.2018/0.2019, allocations: 147.7 MB / 1.095 GB, free: 7.246 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01004/0.2119, allocations: 5.984 MB / 1.101 GB, free: 1.242 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006741/0.2126, allocations: 15.88 kB / 1.101 GB, free: 1.227 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007253/0.2133, allocations: 178.7 kB / 1.101 GB, free: 1.051 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002728/0.216, allocations: 0.8549 MB / 1.102 GB, free: 196 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.5874/0.8034, allocations: 380.5 kB / 1.102 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001481/0.8049, allocations: 0.7148 MB / 1.103 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005436/0.8055, allocations: 218.9 kB / 1.103 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001718/0.8072, allocations: 0.6608 MB / 1.104 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005454/0.8077, allocations: 247.2 kB / 1.104 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 6.354e-05/0.8078, allocations: 22.22 kB / 1.104 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008592/0.8086, allocations: 304.3 kB / 1.105 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001757/0.8088, allocations: 113.3 kB / 1.105 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000191/0.809, allocations: 113.6 kB / 1.105 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000846/0.8099, allocations: 483.1 kB / 1.105 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.732e-06/0.8099, allocations: 0.5625 kB / 1.105 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.884e-06/0.8099, allocations: 0.5625 kB / 1.105 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.764e-05/0.8099, allocations: 0 / 1.105 GB, free: 12.88 MB / 0.9981 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.0009086/0.8108, allocations: 0.546 MB / 1.106 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.8108, allocations: 10.12 kB / 1.106 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003641/0.8112, allocations: 60.73 kB / 1.106 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005389/0.8117, allocations: 266.6 kB / 1.106 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.323e-05/0.8118, allocations: 23.69 kB / 1.106 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.33e-05/0.8118, allocations: 25.7 kB / 1.106 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00065/0.8125, allocations: 319 kB / 1.106 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.628e-05/0.8125, allocations: 2.812 kB / 1.106 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.86e-05/0.8125, allocations: 14.23 kB / 1.106 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.329e-05/0.8125, allocations: 9.562 kB / 1.107 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004773/0.813, allocations: 201.5 kB / 1.107 GB, free: 12.25 MB / 0.9981 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.001374/0.8144, allocations: 1.123 MB / 1.108 GB, free: 11.51 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002958/0.8147, allocations: 110.1 kB / 1.108 GB, free: 11.48 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002104/0.8149, allocations: 85.5 kB / 1.108 GB, free: 11.48 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005449/0.8154, allocations: 73.8 kB / 1.108 GB, free: 11.48 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.671e-05/0.8155, allocations: 34.81 kB / 1.108 GB, free: 11.44 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=13): time 1.693e-06/0.8155, allocations: 1.219 kB / 1.108 GB, free: 11.44 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13): time 0.0008989/0.8164, allocations: 267.3 kB / 1.108 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.807e-05/0.8164, allocations: 54.09 kB / 1.108 GB, free: 11.33 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002597/0.8166, allocations: 237.5 kB / 1.109 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.075e-05/0.8167, allocations: 31.41 kB / 1.109 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000118/0.8168, allocations: 191.5 kB / 1.109 GB, free: 11.06 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.263e-05/0.8168, allocations: 52.84 kB / 1.109 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.239e-05/0.8169, allocations: 32.17 kB / 1.109 GB, free: 11.01 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.809e-05/0.817, allocations: 333.9 kB / 1.109 GB, free: 10.7 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001703/0.8171, allocations: 59.78 kB / 1.109 GB, free: 10.7 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002293/0.8174, allocations: 190.8 kB / 1.109 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003455/0.8177, allocations: 176.9 kB / 1.11 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.8177, allocations: 0.75 kB / 1.11 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000453/0.8182, allocations: 209.5 kB / 1.11 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.8182, allocations: 6.203 kB / 1.11 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.8182, allocations: 2.375 kB / 1.11 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.417e-05/0.8182, allocations: 2.188 kB / 1.11 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001922/0.8184, allocations: 40.97 kB / 1.11 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.266e-05/0.8184, allocations: 6.516 kB / 1.11 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001719/0.8186, allocations: 23.02 kB / 1.11 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.819e-05/0.8186, allocations: 11.19 kB / 1.11 GB, free: 10.45 MB / 0.9981 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.0001481/0.8188, allocations: 147.9 kB / 1.11 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.954e-05/0.8188, allocations: 22.17 kB / 1.11 GB, free: 10.33 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005002/0.8193, allocations: 201 kB / 1.11 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/0.8193, allocations: 9.266 kB / 1.11 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.8193, allocations: 0.8438 kB / 1.11 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.8194, allocations: 5.5 kB / 1.11 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001044/0.8204, allocations: 0.5927 MB / 1.111 GB, free: 10 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.8204, allocations: 5.844 kB / 1.111 GB, free: 9.996 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001406/0.8205, allocations: 26.7 kB / 1.111 GB, free: 9.996 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.095e-06/0.8205, allocations: 8.719 kB / 1.111 GB, free: 9.992 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.903e-05/0.8206, allocations: 9.062 kB / 1.111 GB, free: 9.992 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.8206, allocations: 6.297 kB / 1.111 GB, free: 9.992 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.8206, allocations: 2.219 kB / 1.111 GB, free: 9.992 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004415/0.821, allocations: 325.3 kB / 1.111 GB, free: 9.793 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.888e-05/0.8211, allocations: 40.75 kB / 1.111 GB, free: 9.777 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.608e-05/0.8211, allocations: 3.875 kB / 1.111 GB, free: 9.777 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000146/0.8213, allocations: 12.58 kB / 1.111 GB, free: 9.777 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.272e-05/0.8213, allocations: 14.27 kB / 1.111 GB, free: 9.777 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.324e-05/0.8214, allocations: 7.469 kB / 1.111 GB, free: 9.777 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001564/0.8215, allocations: 163.6 kB / 1.111 GB, free: 9.699 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.8215, allocations: 0 / 1.111 GB, free: 9.699 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005337/0.822, allocations: 88.34 kB / 1.112 GB, free: 9.68 MB / 0.9981 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.0002913/0.8223, allocations: 136.5 kB / 1.112 GB, free: 9.59 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004713/0.8228, allocations: 156.1 kB / 1.112 GB, free: 9.59 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.8228, allocations: 0.6562 kB / 1.112 GB, free: 9.59 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001967/0.823, allocations: 81.36 kB / 1.112 GB, free: 9.59 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006841/0.8237, allocations: 100.4 kB / 1.112 GB, free: 9.582 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009599/0.8247, allocations: 0.5139 MB / 1.113 GB, free: 9.273 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002056/0.8249, allocations: 176.6 kB / 1.113 GB, free: 9.199 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000181/0.825, allocations: 51.8 kB / 1.113 GB, free: 9.195 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.313e-05/0.8251, allocations: 20.78 kB / 1.113 GB, free: 9.184 MB / 0.9981 GB Notification: Performance of SimCode: time 4.41e-07/0.8251, allocations: 1.203 kB / 1.113 GB, free: 9.184 MB / 0.9981 GB Notification: Performance of Templates: time 0.01056/0.8357, allocations: 3.653 MB / 1.116 GB, free: 8.969 MB / 0.9981 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.137663967907429]