Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.007676/0.007676, allocations: 105 kB / 15.74 MB, free: 6.5 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.001442/0.001442, allocations: 201.2 kB / 16.68 MB, free: 6.375 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.434/1.434, allocations: 222.9 MB / 240.4 MB, free: 4.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.868/2.868, allocations: 472.6 MB / 0.7453 GB, free: 4.574 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 59.91 kB / 1.069 GB, free: 9.188 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3628/0.3642, allocations: 159.9 MB / 1.226 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.8949/1.259, allocations: 161.4 MB / 1.383 GB, free: 1.348 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.006306/1.266, allocations: 4.548 MB / 1.388 GB, free: 13.78 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006958/1.266, allocations: 10.94 kB / 1.388 GB, free: 13.77 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0006487/1.267, allocations: 120.3 kB / 1.388 GB, free: 13.67 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.001109/1.268, allocations: 332.9 kB / 1.388 GB, free: 13.41 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009995/1.269, allocations: 279 kB / 1.388 GB, free: 13.21 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.0008118/1.27, allocations: 0.5527 MB / 1.389 GB, free: 12.9 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004175/1.27, allocations: 209.4 kB / 1.389 GB, free: 12.78 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001104/1.271, allocations: 454 kB / 1.39 GB, free: 12.5 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003132/1.272, allocations: 187.8 kB / 1.39 GB, free: 12.39 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 4.209e-05/1.272, allocations: 17.25 kB / 1.39 GB, free: 12.39 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002377/1.272, allocations: 92.12 kB / 1.39 GB, free: 12.35 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0001227/1.272, allocations: 88.27 kB / 1.39 GB, free: 12.29 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0001562/1.272, allocations: 119.3 kB / 1.39 GB, free: 12.22 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0005073/1.273, allocations: 297 kB / 1.39 GB, free: 12.03 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/1.273, allocations: 0 / 1.39 GB, free: 12.03 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.433e-06/1.273, allocations: 0 / 1.39 GB, free: 12.03 MB / 1.092 GB Notification: Performance of Transformations before backend: time 8.726e-06/1.273, allocations: 1.625 kB / 1.39 GB, free: 12.03 MB / 1.092 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.0009986/1.274, allocations: 0.5428 MB / 1.391 GB, free: 11.52 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.336e-05/1.274, allocations: 10.38 kB / 1.391 GB, free: 11.52 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.691e-05/1.274, allocations: 36.69 kB / 1.391 GB, free: 11.5 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000445/1.275, allocations: 290.7 kB / 1.391 GB, free: 11.22 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.53e-05/1.275, allocations: 12.09 kB / 1.391 GB, free: 11.21 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.228e-05/1.275, allocations: 20.31 kB / 1.391 GB, free: 11.21 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004727/1.275, allocations: 261.4 kB / 1.391 GB, free: 11 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/1.275, allocations: 1.156 kB / 1.391 GB, free: 11 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.503e-05/1.275, allocations: 14.22 kB / 1.391 GB, free: 10.98 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.497e-05/1.275, allocations: 4.594 kB / 1.391 GB, free: 10.98 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003355/1.276, allocations: 152.1 kB / 1.392 GB, free: 10.91 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001344/1.277, allocations: 1.371 MB / 1.393 GB, free: 9.594 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002992/1.277, allocations: 180.9 kB / 1.393 GB, free: 9.406 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001738/1.277, allocations: 95.95 kB / 1.393 GB, free: 9.328 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003474/1.278, allocations: 124 kB / 1.393 GB, free: 9.211 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.489e-05/1.278, allocations: 33.47 kB / 1.393 GB, free: 9.172 MB / 1.092 GB Notification: Performance of pre-optimization done (n=10): time 1.412e-06/1.278, allocations: 0 / 1.393 GB, free: 9.172 MB / 1.092 GB Notification: Performance of matching and sorting (n=10): time 0.000617/1.278, allocations: 214.3 kB / 1.394 GB, free: 9.047 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.038e-05/1.279, allocations: 183.2 kB / 1.394 GB, free: 8.828 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003055/1.279, allocations: 289 kB / 1.394 GB, free: 8.645 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 2.075e-05/1.279, allocations: 27.05 kB / 1.394 GB, free: 8.613 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001189/1.279, allocations: 152.4 kB / 1.394 GB, free: 8.473 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 3.578e-05/1.279, allocations: 36.69 kB / 1.394 GB, free: 8.441 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.856e-05/1.279, allocations: 34.73 kB / 1.394 GB, free: 8.414 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001195/1.279, allocations: 341.5 kB / 1.395 GB, free: 8.078 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001309/1.279, allocations: 47.3 kB / 1.395 GB, free: 8.055 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002026/1.28, allocations: 111.6 kB / 1.395 GB, free: 7.957 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003116/1.28, allocations: 165.7 kB / 1.395 GB, free: 7.828 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.092e-06/1.28, allocations: 1.25 kB / 1.395 GB, free: 7.828 MB / 1.092 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004009/1.28, allocations: 190.4 kB / 1.395 GB, free: 7.719 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/1.28, allocations: 9.562 kB / 1.395 GB, free: 7.715 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.327e-05/1.28, allocations: 7.203 kB / 1.395 GB, free: 7.711 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/1.28, allocations: 5.719 kB / 1.395 GB, free: 7.707 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001593/1.281, allocations: 32.05 kB / 1.395 GB, free: 7.699 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/1.281, allocations: 3.406 kB / 1.395 GB, free: 7.699 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001558/1.281, allocations: 29.81 kB / 1.395 GB, free: 7.68 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.758e-05/1.281, allocations: 8 kB / 1.395 GB, free: 7.68 MB / 1.092 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.000142/1.281, allocations: 146.4 kB / 1.395 GB, free: 7.543 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001328/1.281, allocations: 40.67 kB / 1.395 GB, free: 7.516 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003219/1.281, allocations: 128.8 kB / 1.395 GB, free: 7.43 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/1.281, allocations: 3.438 kB / 1.395 GB, free: 7.43 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.615e-06/1.281, allocations: 1.203 kB / 1.395 GB, free: 7.43 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.919e-06/1.281, allocations: 6.266 kB / 1.395 GB, free: 7.426 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008897/1.282, allocations: 0.7794 MB / 1.396 GB, free: 6.656 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.237e-06/1.282, allocations: 1.062 kB / 1.396 GB, free: 6.656 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001246/1.283, allocations: 21.58 kB / 1.396 GB, free: 6.652 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/1.283, allocations: 2.062 kB / 1.396 GB, free: 6.652 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.515e-05/1.283, allocations: 2.844 kB / 1.396 GB, free: 6.652 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.722e-06/1.283, allocations: 5.188 kB / 1.396 GB, free: 6.648 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/1.283, allocations: 2.25 kB / 1.396 GB, free: 6.648 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005597/1.283, allocations: 341.5 kB / 1.397 GB, free: 6.379 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 9.697e-05/1.283, allocations: 110.9 kB / 1.397 GB, free: 6.262 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.777e-05/1.283, allocations: 10.72 kB / 1.397 GB, free: 6.254 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001282/1.283, allocations: 9.391 kB / 1.397 GB, free: 6.25 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.007e-05/1.283, allocations: 12.95 kB / 1.397 GB, free: 6.242 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/1.283, allocations: 7.469 kB / 1.397 GB, free: 6.238 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0002141/1.284, allocations: 209.6 kB / 1.397 GB, free: 6.098 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.31e-07/1.284, allocations: 0 / 1.397 GB, free: 6.098 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0003517/1.284, allocations: 49.88 kB / 1.397 GB, free: 6.094 MB / 1.092 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.0004016/1.284, allocations: 152.3 kB / 1.397 GB, free: 5.977 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0003783/1.285, allocations: 124.5 kB / 1.397 GB, free: 5.922 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/1.285, allocations: 448 / 1.397 GB, free: 5.922 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0001608/1.285, allocations: 65.42 kB / 1.397 GB, free: 5.891 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007372/1.286, allocations: 122.4 kB / 1.397 GB, free: 5.84 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008346/1.287, allocations: 485.2 kB / 1.398 GB, free: 5.469 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004496/1.287, allocations: 0.7629 MB / 1.399 GB, free: 4.73 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0001426/1.287, allocations: 52.88 kB / 1.399 GB, free: 4.707 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.2e-05/1.287, allocations: 24.53 kB / 1.399 GB, free: 4.695 MB / 1.092 GB Notification: Performance of SimCode: time 4.1e-07/1.287, allocations: 0 / 1.399 GB, free: 4.695 MB / 1.092 GB Notification: Performance of Templates: time 0.008959/1.296, allocations: 4.255 MB / 1.403 GB, free: 2.59 MB / 1.092 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.makefile (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches