Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senM_flow.m_flow|senH.h_out|senH_flow.H_flow|senHSen_flow.H_flow|senHLat_flow.H_flow|pro.y|add.y",fileNamePrefix="Buildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senM_flow.m_flow|senH.h_out|senH_flow.H_flow|senHSen_flow.H_flow|senHLat_flow.H_flow|pro.y|add.y",fileNamePrefix="Buildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 104.4 kB / 16.35 MB, free: 5.828 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 193.2 kB / 17.29 MB, free: 5.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.371/1.371, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.217/2.217, allocations: 390.3 MB / 0.6655 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 65.39 kB / 0.814 GB, free: 32.69 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2566/0.2579, allocations: 140.4 MB / 0.9511 GB, free: 8.074 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.7706/1.029, allocations: 179.4 MB / 1.126 GB, free: 5.555 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.009094/1.038, allocations: 7.826 MB / 1.134 GB, free: 5.375 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008239/1.039, allocations: 21.55 kB / 1.134 GB, free: 5.375 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0008027/1.039, allocations: 241.3 kB / 1.134 GB, free: 5.375 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.003594/1.043, allocations: 1.224 MB / 1.135 GB, free: 5.312 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00206/1.045, allocations: 0.7321 MB / 1.136 GB, free: 5.281 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.00222/1.047, allocations: 1.077 MB / 1.137 GB, free: 5.133 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007523/1.048, allocations: 406.4 kB / 1.138 GB, free: 5.082 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002887/1.051, allocations: 0.8253 MB / 1.138 GB, free: 4.977 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006791/1.052, allocations: 432.3 kB / 1.139 GB, free: 4.965 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.956e-05/1.052, allocations: 42.02 kB / 1.139 GB, free: 4.961 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002044/1.054, allocations: 0.9461 MB / 1.14 GB, free: 4.879 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000164/1.054, allocations: 160.9 kB / 1.14 GB, free: 4.875 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002848/1.054, allocations: 245.4 kB / 1.14 GB, free: 4.875 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001389/1.056, allocations: 0.9386 MB / 1.141 GB, free: 4.781 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/1.056, allocations: 0 / 1.141 GB, free: 4.781 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.613e-06/1.056, allocations: 1.281 kB / 1.141 GB, free: 4.781 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.371e-05/1.056, allocations: 0 / 1.141 GB, free: 4.781 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001158/1.057, allocations: 0.8045 MB / 1.142 GB, free: 20.23 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/1.057, allocations: 13 kB / 1.142 GB, free: 20.22 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009008/1.058, allocations: 151.9 kB / 1.142 GB, free: 20.2 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005615/1.058, allocations: 398.7 kB / 1.142 GB, free: 19.95 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.898e-05/1.058, allocations: 39.02 kB / 1.142 GB, free: 19.93 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.488e-05/1.059, allocations: 34.38 kB / 1.142 GB, free: 19.93 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006468/1.059, allocations: 444 kB / 1.143 GB, free: 19.83 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/1.059, allocations: 4.125 kB / 1.143 GB, free: 19.83 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.212e-05/1.059, allocations: 21.62 kB / 1.143 GB, free: 19.83 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.174e-05/1.059, allocations: 16.69 kB / 1.143 GB, free: 19.82 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005313/1.06, allocations: 320.6 kB / 1.143 GB, free: 19.8 MB / 0.8731 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.001949/1.062, allocations: 2.004 MB / 1.145 GB, free: 18.43 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003538/1.062, allocations: 245.7 kB / 1.145 GB, free: 18.4 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002218/1.062, allocations: 146.7 kB / 1.146 GB, free: 18.39 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005486/1.063, allocations: 314.2 kB / 1.146 GB, free: 18.11 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.397e-05/1.063, allocations: 35.59 kB / 1.146 GB, free: 18.06 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=24): time 1.503e-06/1.063, allocations: 0 / 1.146 GB, free: 18.06 MB / 0.8731 GB Notification: Performance of matching and sorting (n=24): time 0.0009189/1.064, allocations: 455.9 kB / 1.146 GB, free: 18 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.655e-05/1.064, allocations: 54.94 kB / 1.146 GB, free: 17.94 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003548/1.064, allocations: 400.4 kB / 1.147 GB, free: 17.83 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.922e-05/1.064, allocations: 30.77 kB / 1.147 GB, free: 17.8 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001292/1.064, allocations: 224.8 kB / 1.147 GB, free: 17.68 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.06e-05/1.064, allocations: 87.05 kB / 1.147 GB, free: 17.62 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.854e-05/1.065, allocations: 55.36 kB / 1.147 GB, free: 17.61 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001183/1.065, allocations: 357.1 kB / 1.147 GB, free: 17.29 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002066/1.065, allocations: 115.8 kB / 1.148 GB, free: 17.28 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002764/1.065, allocations: 189.8 kB / 1.148 GB, free: 17.21 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004832/1.066, allocations: 306 kB / 1.148 GB, free: 17.13 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/1.066, allocations: 0 / 1.148 GB, free: 17.13 MB / 0.8731 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006189/1.066, allocations: 363.4 kB / 1.148 GB, free: 17.07 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/1.066, allocations: 6.188 kB / 1.148 GB, free: 17.07 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/1.066, allocations: 2.031 kB / 1.148 GB, free: 17.07 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/1.066, allocations: 3.75 kB / 1.148 GB, free: 17.07 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002598/1.067, allocations: 61.45 kB / 1.148 GB, free: 17.06 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/1.067, allocations: 2.312 kB / 1.148 GB, free: 17.06 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002229/1.067, allocations: 45.27 kB / 1.148 GB, free: 17.04 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.58e-05/1.067, allocations: 14.28 kB / 1.149 GB, free: 17.04 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (31): * Single equations (assignments): 31 * 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.0001586/1.067, allocations: 167.4 kB / 1.149 GB, free: 16.91 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.92e-05/1.067, allocations: 38.28 kB / 1.149 GB, free: 16.89 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000642/1.068, allocations: 376.6 kB / 1.149 GB, free: 16.84 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/1.068, allocations: 5.062 kB / 1.149 GB, free: 16.84 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/1.068, allocations: 0 / 1.149 GB, free: 16.84 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/1.068, allocations: 0 / 1.149 GB, free: 16.84 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001272/1.069, allocations: 0.9377 MB / 1.15 GB, free: 16.46 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/1.069, allocations: 2.656 kB / 1.15 GB, free: 16.46 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002345/1.069, allocations: 52.23 kB / 1.15 GB, free: 16.45 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/1.069, allocations: 2.938 kB / 1.15 GB, free: 16.45 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.105e-05/1.069, allocations: 8.594 kB / 1.15 GB, free: 16.45 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/1.069, allocations: 6.438 kB / 1.15 GB, free: 16.45 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/1.069, allocations: 14.06 kB / 1.15 GB, free: 16.44 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008073/1.07, allocations: 0.6276 MB / 1.151 GB, free: 16.22 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001582/1.07, allocations: 148.8 kB / 1.151 GB, free: 16.1 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.41e-05/1.07, allocations: 9.125 kB / 1.151 GB, free: 16.1 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002056/1.071, allocations: 11.67 kB / 1.151 GB, free: 16.1 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.108e-05/1.071, allocations: 26.08 kB / 1.151 GB, free: 16.09 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/1.071, allocations: 11.41 kB / 1.151 GB, free: 16.09 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002501/1.071, allocations: 281.2 kB / 1.151 GB, free: 16.01 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/1.071, allocations: 1.25 kB / 1.151 GB, free: 16.01 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004549/1.072, allocations: 107 kB / 1.151 GB, free: 16 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senH.h_out) * 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 (24): * Single equations (assignments): 24 * 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.0003761/1.072, allocations: 174.8 kB / 1.151 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005327/1.072, allocations: 293.8 kB / 1.152 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/1.072, allocations: 1.125 kB / 1.152 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002441/1.073, allocations: 154.1 kB / 1.152 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009687/1.074, allocations: 232.9 kB / 1.152 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001086/1.075, allocations: 0.8018 MB / 1.153 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003477/1.075, allocations: 0.8283 MB / 1.154 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002527/1.075, allocations: 100.2 kB / 1.154 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001252/1.076, allocations: 35.91 kB / 1.154 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of SimCode: time 8.21e-07/1.076, allocations: 0 / 1.154 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of Templates: time 0.02333/1.099, allocations: 7.598 MB / 1.161 GB, free: 14.05 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.makefile (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & ./Buildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches