Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.SpecificEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senStr.port_a.m_flow|senStr.h_out|senFloSou.h_out",fileNamePrefix="Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senStr.port_a.m_flow|senStr.h_out|senFloSou.h_out",fileNamePrefix="Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001178/0.001178, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001225/0.001225, allocations: 194.1 kB / 16.53 MB, free: 6.391 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.415/1.415, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.431/2.431, allocations: 390.2 MB / 0.6647 GB, free: 376 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 60.09 kB / 0.8125 GB, free: 14.45 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7261/0.7275, allocations: 140.4 MB / 0.9496 GB, free: 9.234 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1779/0.9054, allocations: 161.4 MB / 1.107 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.005281/0.9107, allocations: 4.55 MB / 1.112 GB, free: 11.37 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003493/0.9111, allocations: 11.94 kB / 1.112 GB, free: 11.36 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0004635/0.9116, allocations: 123.1 kB / 1.112 GB, free: 11.23 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.0008721/0.9125, allocations: 334.4 kB / 1.112 GB, free: 10.91 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.000781/0.9133, allocations: 270.9 kB / 1.112 GB, free: 10.64 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0006155/0.9139, allocations: 0.5573 MB / 1.113 GB, free: 10.09 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00035/0.9143, allocations: 210.7 kB / 1.113 GB, free: 9.883 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009413/0.9152, allocations: 454.2 kB / 1.113 GB, free: 9.438 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002644/0.9155, allocations: 195.2 kB / 1.114 GB, free: 9.246 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 4.138e-05/0.9156, allocations: 16 kB / 1.114 GB, free: 9.23 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001912/0.9158, allocations: 83.92 kB / 1.114 GB, free: 9.148 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001042/0.9159, allocations: 79.8 kB / 1.114 GB, free: 9.07 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001241/0.916, allocations: 115.4 kB / 1.114 GB, free: 8.957 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0003966/0.9164, allocations: 295 kB / 1.114 GB, free: 8.668 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.9164, allocations: 4 kB / 1.114 GB, free: 8.664 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.683e-06/0.9164, allocations: 0 / 1.114 GB, free: 8.664 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 9.478e-06/0.9165, allocations: 0 / 1.114 GB, free: 8.664 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0008589/0.9173, allocations: 0.5411 MB / 1.115 GB, free: 8.074 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.9174, allocations: 8.031 kB / 1.115 GB, free: 8.066 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.08e-05/0.9174, allocations: 27.66 kB / 1.115 GB, free: 8.039 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003575/0.9178, allocations: 271.4 kB / 1.115 GB, free: 7.734 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.842e-05/0.9178, allocations: 16 kB / 1.115 GB, free: 7.719 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.314e-05/0.9179, allocations: 24 kB / 1.115 GB, free: 7.695 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004283/0.9183, allocations: 261.8 kB / 1.115 GB, free: 7.402 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.9183, allocations: 0 / 1.115 GB, free: 7.402 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.11e-05/0.9184, allocations: 7.938 kB / 1.115 GB, free: 7.395 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.152e-05/0.9184, allocations: 11.94 kB / 1.115 GB, free: 7.383 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000347/0.9187, allocations: 151.8 kB / 1.116 GB, free: 7.234 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001255/0.92, allocations: 1.371 MB / 1.117 GB, free: 5.77 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002978/0.9203, allocations: 183.7 kB / 1.117 GB, free: 5.535 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001797/0.9205, allocations: 97.11 kB / 1.117 GB, free: 5.422 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003724/0.9209, allocations: 121 kB / 1.117 GB, free: 5.285 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/0.9209, allocations: 46.42 kB / 1.117 GB, free: 5.23 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=10): time 1.633e-06/0.9209, allocations: 0 / 1.117 GB, free: 5.23 MB / 0.8731 GB Notification: Performance of matching and sorting (n=10): time 0.0006341/0.9216, allocations: 205.2 kB / 1.117 GB, free: 5.023 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.935e-05/0.9217, allocations: 183.9 kB / 1.118 GB, free: 4.801 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00027/0.9219, allocations: 291.6 kB / 1.118 GB, free: 4.504 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.076e-05/0.922, allocations: 29.7 kB / 1.118 GB, free: 4.469 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/0.9221, allocations: 151.8 kB / 1.118 GB, free: 4.316 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.204e-05/0.9221, allocations: 35.55 kB / 1.118 GB, free: 4.281 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.075e-05/0.9222, allocations: 33.66 kB / 1.118 GB, free: 4.242 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.9223, allocations: 334.8 kB / 1.118 GB, free: 3.906 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001472/0.9225, allocations: 47.89 kB / 1.119 GB, free: 3.859 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001932/0.9227, allocations: 115.7 kB / 1.119 GB, free: 3.719 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002984/0.923, allocations: 158.7 kB / 1.119 GB, free: 3.539 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.923, allocations: 4 kB / 1.119 GB, free: 3.535 MB / 0.8731 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003722/0.9234, allocations: 189.2 kB / 1.119 GB, free: 3.344 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.9234, allocations: 7.938 kB / 1.119 GB, free: 3.336 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.9234, allocations: 4 kB / 1.119 GB, free: 3.332 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.9234, allocations: 4 kB / 1.119 GB, free: 3.328 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001454/0.9236, allocations: 31.97 kB / 1.119 GB, free: 3.297 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.9236, allocations: 3.938 kB / 1.119 GB, free: 3.293 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001625/0.9238, allocations: 31.73 kB / 1.119 GB, free: 3.262 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.308e-05/0.9238, allocations: 8.312 kB / 1.119 GB, free: 3.254 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 (15): * Single equations (assignments): 15 * 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.0001243/0.9239, allocations: 149.9 kB / 1.119 GB, free: 3.098 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001282/0.9241, allocations: 27.66 kB / 1.119 GB, free: 3.07 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003392/0.9244, allocations: 138.9 kB / 1.119 GB, free: 2.93 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.9244, allocations: 0 / 1.119 GB, free: 2.93 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.9244, allocations: 4 kB / 1.119 GB, free: 2.926 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.9244, allocations: 0 / 1.119 GB, free: 2.926 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00077/0.9252, allocations: 0.7691 MB / 1.12 GB, free: 2.082 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.9252, allocations: 3.984 kB / 1.12 GB, free: 2.078 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001294/0.9254, allocations: 27.92 kB / 1.12 GB, free: 2.051 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-06/0.9254, allocations: 0 / 1.12 GB, free: 2.051 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.9254, allocations: 8 kB / 1.12 GB, free: 2.043 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.9254, allocations: 4.156 kB / 1.12 GB, free: 2.039 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.9254, allocations: 4 kB / 1.12 GB, free: 2.035 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005075/0.9259, allocations: 343.2 kB / 1.12 GB, free: 1.668 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 8.677e-05/0.926, allocations: 108.8 kB / 1.121 GB, free: 1.543 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.685e-05/0.9261, allocations: 4 kB / 1.121 GB, free: 1.539 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001339/0.9262, allocations: 11.98 kB / 1.121 GB, free: 1.527 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.418e-05/0.9262, allocations: 19.86 kB / 1.121 GB, free: 1.508 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.805e-06/0.9263, allocations: 4 kB / 1.121 GB, free: 1.504 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001966/0.9265, allocations: 214 kB / 1.121 GB, free: 1.293 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9265, allocations: 0 / 1.121 GB, free: 1.293 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003463/0.9268, allocations: 51.94 kB / 1.121 GB, free: 1.242 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.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 (10): * Single equations (assignments): 10 * 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.0003368/0.9272, allocations: 144.2 kB / 1.121 GB, free: 1.098 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.000371/0.9275, allocations: 127.9 kB / 1.121 GB, free: 0.9727 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.9276, allocations: 0 / 1.121 GB, free: 0.9727 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001519/0.9277, allocations: 68.02 kB / 1.121 GB, free: 0.9062 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007639/0.9285, allocations: 122.6 kB / 1.121 GB, free: 0.793 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008003/0.9293, allocations: 495.8 kB / 1.122 GB, free: 272 kB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003085/0.9296, allocations: 0.7636 MB / 1.123 GB, free: 15.48 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0001508/0.9298, allocations: 50.25 kB / 1.123 GB, free: 15.43 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.275e-05/0.9298, allocations: 23.44 kB / 1.123 GB, free: 15.4 MB / 0.8887 GB Notification: Performance of SimCode: time 2.71e-07/0.9298, allocations: 0 / 1.123 GB, free: 15.4 MB / 0.8887 GB Notification: Performance of Templates: time 0.008272/0.9381, allocations: 4.221 MB / 1.127 GB, free: 11.25 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.makefile (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches