Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001181/0.001181, allocations: 108 kB / 15.61 MB, free: 152 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.001153/0.001153, allocations: 197 kB / 16.53 MB, free: 6.664 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.38/1.38, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.557/2.557, allocations: 437 MB / 0.7103 GB, free: 5.152 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001476, allocations: 68.09 kB / 0.8692 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7338/0.7353, allocations: 151.6 MB / 1.017 GB, free: 2.691 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1906/0.926, allocations: 161.4 MB / 1.175 GB, free: 0.7031 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.006705/0.9327, allocations: 4.54 MB / 1.179 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004677/0.9332, allocations: 11.94 kB / 1.179 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0005864/0.9338, allocations: 131 kB / 1.179 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.00108/0.935, allocations: 330.4 kB / 1.18 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000832/0.9358, allocations: 275.2 kB / 1.18 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0007897/0.9366, allocations: 0.5611 MB / 1.181 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005432/0.9372, allocations: 205.1 kB / 1.181 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001332/0.9385, allocations: 458.2 kB / 1.181 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003478/0.9389, allocations: 187.3 kB / 1.181 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.999e-05/0.9389, allocations: 16 kB / 1.181 GB, free: 10 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002164/0.9392, allocations: 83.86 kB / 1.181 GB, free: 9.918 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001363/0.9393, allocations: 83.72 kB / 1.182 GB, free: 9.836 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001499/0.9395, allocations: 119.4 kB / 1.182 GB, free: 9.719 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003923/0.9399, allocations: 287.1 kB / 1.182 GB, free: 9.438 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.299e-06/0.9399, allocations: 3.984 kB / 1.182 GB, free: 9.434 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.503e-06/0.9399, allocations: 0 / 1.182 GB, free: 9.434 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.868e-06/0.9399, allocations: 0 / 1.182 GB, free: 9.434 MB / 0.9356 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.0008943/0.9408, allocations: 0.5334 MB / 1.182 GB, free: 8.852 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.9409, allocations: 8.031 kB / 1.182 GB, free: 8.844 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.486e-05/0.9409, allocations: 31.66 kB / 1.182 GB, free: 8.812 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004173/0.9414, allocations: 279.3 kB / 1.183 GB, free: 8.5 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.9414, allocations: 12 kB / 1.183 GB, free: 8.488 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.148e-05/0.9414, allocations: 20 kB / 1.183 GB, free: 8.469 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004667/0.9419, allocations: 265.6 kB / 1.183 GB, free: 8.172 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.9419, allocations: 0 / 1.183 GB, free: 8.172 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.536e-05/0.942, allocations: 11.94 kB / 1.183 GB, free: 8.16 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.942, allocations: 4 kB / 1.183 GB, free: 8.156 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003484/0.9423, allocations: 151.8 kB / 1.183 GB, free: 8.008 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001687/0.944, allocations: 1.375 MB / 1.185 GB, free: 6.543 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003022/0.9443, allocations: 187.7 kB / 1.185 GB, free: 6.305 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001677/0.9445, allocations: 93.11 kB / 1.185 GB, free: 6.195 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003612/0.9449, allocations: 125 kB / 1.185 GB, free: 6.055 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.219e-05/0.9449, allocations: 42.44 kB / 1.185 GB, free: 6.004 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=10): time 1.393e-06/0.9449, allocations: 4 kB / 1.185 GB, free: 6 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10): time 0.0006272/0.9456, allocations: 205.1 kB / 1.185 GB, free: 5.793 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.157e-05/0.9457, allocations: 183.9 kB / 1.185 GB, free: 5.57 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003851/0.9461, allocations: 287 kB / 1.186 GB, free: 5.285 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/0.9461, allocations: 26.33 kB / 1.186 GB, free: 5.254 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/0.9462, allocations: 155.8 kB / 1.186 GB, free: 5.098 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.81e-05/0.9463, allocations: 35.55 kB / 1.186 GB, free: 5.062 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.561e-05/0.9463, allocations: 41.55 kB / 1.186 GB, free: 5.016 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002061/0.9465, allocations: 338.8 kB / 1.186 GB, free: 4.676 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000132/0.9467, allocations: 39.97 kB / 1.186 GB, free: 4.637 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001864/0.9469, allocations: 121.7 kB / 1.186 GB, free: 4.492 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003088/0.9472, allocations: 155 kB / 1.186 GB, free: 4.316 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.9472, allocations: 4 kB / 1.186 GB, free: 4.312 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005371/0.9477, allocations: 193.3 kB / 1.187 GB, free: 4.117 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.9478, allocations: 13.34 kB / 1.187 GB, free: 4.105 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.9478, allocations: 0 / 1.187 GB, free: 4.105 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.9478, allocations: 4 kB / 1.187 GB, free: 4.102 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001451/0.948, allocations: 31.92 kB / 1.187 GB, free: 4.07 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.948, allocations: 0 / 1.187 GB, free: 4.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001675/0.9481, allocations: 27.83 kB / 1.187 GB, free: 4.043 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.419e-05/0.9482, allocations: 8 kB / 1.187 GB, free: 4.035 MB / 0.9356 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.0001953/0.9484, allocations: 153.8 kB / 1.187 GB, free: 3.875 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001296/0.9485, allocations: 27.66 kB / 1.187 GB, free: 3.848 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003415/0.9489, allocations: 127 kB / 1.187 GB, free: 3.719 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.9489, allocations: 0 / 1.187 GB, free: 3.719 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.9489, allocations: 4 kB / 1.187 GB, free: 3.715 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.9489, allocations: 0 / 1.187 GB, free: 3.715 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008276/0.9497, allocations: 0.7845 MB / 1.188 GB, free: 2.855 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.9497, allocations: 0 / 1.188 GB, free: 2.855 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001327/0.9499, allocations: 23.98 kB / 1.188 GB, free: 2.832 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.129e-06/0.9499, allocations: 0 / 1.188 GB, free: 2.832 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.551e-05/0.9499, allocations: 11.94 kB / 1.188 GB, free: 2.82 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.9499, allocations: 0 / 1.188 GB, free: 2.82 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.9499, allocations: 8.156 kB / 1.188 GB, free: 2.812 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005425/0.9505, allocations: 339.4 kB / 1.188 GB, free: 2.449 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001047/0.9506, allocations: 116.8 kB / 1.188 GB, free: 2.316 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.821e-05/0.9506, allocations: 8 kB / 1.188 GB, free: 2.309 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001309/0.9508, allocations: 4 kB / 1.188 GB, free: 2.305 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.312e-05/0.9508, allocations: 15.92 kB / 1.188 GB, free: 2.289 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.885e-06/0.9508, allocations: 4 kB / 1.188 GB, free: 2.285 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002469/0.9511, allocations: 209.9 kB / 1.189 GB, free: 2.078 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9511, allocations: 4.062 kB / 1.189 GB, free: 2.074 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003725/0.9515, allocations: 55.94 kB / 1.189 GB, free: 2.02 MB / 0.9356 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.0004537/0.9519, allocations: 141.1 kB / 1.189 GB, free: 1.875 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003756/0.9523, allocations: 128 kB / 1.189 GB, free: 1.75 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.9523, allocations: 0 / 1.189 GB, free: 1.75 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001531/0.9525, allocations: 59.91 kB / 1.189 GB, free: 1.691 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007869/0.9533, allocations: 131.8 kB / 1.189 GB, free: 1.57 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009476/0.9543, allocations: 487.9 kB / 1.189 GB, free: 1.051 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000418/0.9547, allocations: 0.7636 MB / 1.19 GB, free: 268 kB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.000247/0.9549, allocations: 46.25 kB / 1.19 GB, free: 224 kB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.753e-05/0.955, allocations: 27.44 kB / 1.19 GB, free: 196 kB / 0.9356 GB Notification: Performance of SimCode: time 2.11e-07/0.955, allocations: 0 / 1.19 GB, free: 196 kB / 0.9356 GB Notification: Performance of Templates: time 0.009467/0.9645, allocations: 4.216 MB / 1.194 GB, free: 12.04 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.makefile (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches