Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.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.EnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senM_flow.m_flow|senH.h_out|senH_flow.H_flow|cheEqu.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senM_flow.m_flow|senH.h_out|senH_flow.H_flow|cheEqu.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005104/0.005104, allocations: 97.38 kB / 15.73 MB, free: 5.949 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.00128/0.00128, allocations: 193.6 kB / 16.67 MB, free: 5.871 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.359/1.359, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.635/2.635, allocations: 472.6 MB / 0.7453 GB, free: 440 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 63.89 kB / 1.069 GB, free: 9.539 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8901/0.8915, allocations: 159.9 MB / 1.226 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1827/1.074, allocations: 167.5 MB / 1.389 GB, free: 5.293 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.00748/1.082, allocations: 6.543 MB / 1.396 GB, free: 14.73 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005662/1.082, allocations: 15.88 kB / 1.396 GB, free: 14.71 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0006083/1.083, allocations: 174.7 kB / 1.396 GB, free: 14.54 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.00232/1.085, allocations: 0.8401 MB / 1.397 GB, free: 13.7 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009808/1.086, allocations: 327 kB / 1.397 GB, free: 13.38 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0008183/1.087, allocations: 0.7251 MB / 1.398 GB, free: 12.66 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000426/1.088, allocations: 274.8 kB / 1.398 GB, free: 12.39 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001151/1.089, allocations: 0.5487 MB / 1.398 GB, free: 11.84 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000358/1.089, allocations: 271 kB / 1.399 GB, free: 11.57 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 4.323e-05/1.089, allocations: 20 kB / 1.399 GB, free: 11.55 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007361/1.09, allocations: 339.2 kB / 1.399 GB, free: 11.22 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0001291/1.09, allocations: 111.6 kB / 1.399 GB, free: 11.11 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.000163/1.09, allocations: 163.1 kB / 1.399 GB, free: 10.95 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0006689/1.091, allocations: 470.9 kB / 1.4 GB, free: 10.49 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/1.091, allocations: 0 / 1.4 GB, free: 10.49 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.052e-06/1.091, allocations: 0 / 1.4 GB, free: 10.49 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.23e-05/1.091, allocations: 8 kB / 1.4 GB, free: 10.48 MB / 1.123 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.0008873/1.092, allocations: 0.6229 MB / 1.4 GB, free: 9.812 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/1.092, allocations: 11.97 kB / 1.4 GB, free: 9.801 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003296/1.092, allocations: 59.73 kB / 1.4 GB, free: 9.742 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004808/1.093, allocations: 337.3 kB / 1.401 GB, free: 9.367 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.302e-05/1.093, allocations: 20.56 kB / 1.401 GB, free: 9.348 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.894e-05/1.093, allocations: 24 kB / 1.401 GB, free: 9.324 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005222/1.093, allocations: 319.6 kB / 1.401 GB, free: 8.988 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/1.093, allocations: 0 / 1.401 GB, free: 8.988 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.429e-05/1.093, allocations: 12 kB / 1.401 GB, free: 8.977 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.535e-05/1.093, allocations: 8 kB / 1.401 GB, free: 8.969 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004067/1.094, allocations: 205.5 kB / 1.401 GB, free: 8.77 MB / 1.123 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.001484/1.095, allocations: 1.535 MB / 1.403 GB, free: 7.098 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002417/1.096, allocations: 118.5 kB / 1.403 GB, free: 6.973 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001757/1.096, allocations: 92.8 kB / 1.403 GB, free: 6.879 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005468/1.096, allocations: 307.2 kB / 1.403 GB, free: 6.523 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.55e-05/1.096, allocations: 30.56 kB / 1.403 GB, free: 6.484 MB / 1.123 GB Notification: Performance of pre-optimization done (n=13): time 1.443e-06/1.096, allocations: 0 / 1.403 GB, free: 6.484 MB / 1.123 GB Notification: Performance of matching and sorting (n=13): time 0.0007452/1.097, allocations: 277.6 kB / 1.404 GB, free: 6.207 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.637e-05/1.097, allocations: 55.41 kB / 1.404 GB, free: 6.141 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002987/1.097, allocations: 308.5 kB / 1.404 GB, free: 5.832 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/1.098, allocations: 25.7 kB / 1.404 GB, free: 5.801 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001248/1.098, allocations: 188.3 kB / 1.404 GB, free: 5.613 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 3.493e-05/1.098, allocations: 43.58 kB / 1.404 GB, free: 5.57 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.695e-05/1.098, allocations: 41.66 kB / 1.404 GB, free: 5.523 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.000118/1.098, allocations: 338.8 kB / 1.405 GB, free: 5.184 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001491/1.098, allocations: 59.95 kB / 1.405 GB, free: 5.125 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001858/1.098, allocations: 110.8 kB / 1.405 GB, free: 5 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003156/1.099, allocations: 184.9 kB / 1.405 GB, free: 4.801 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.77e-06/1.099, allocations: 7.938 kB / 1.405 GB, free: 4.793 MB / 1.123 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004161/1.099, allocations: 217.3 kB / 1.405 GB, free: 4.574 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/1.099, allocations: 4 kB / 1.405 GB, free: 4.57 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/1.099, allocations: 4 kB / 1.405 GB, free: 4.566 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/1.099, allocations: 0 / 1.405 GB, free: 4.566 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001814/1.099, allocations: 35.97 kB / 1.405 GB, free: 4.531 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/1.099, allocations: 3.938 kB / 1.405 GB, free: 4.527 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001708/1.099, allocations: 27.88 kB / 1.405 GB, free: 4.5 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.971e-05/1.099, allocations: 8.156 kB / 1.405 GB, free: 4.492 MB / 1.123 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.0001524/1.1, allocations: 157.8 kB / 1.405 GB, free: 4.328 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.951e-05/1.1, allocations: 27.81 kB / 1.405 GB, free: 4.301 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004406/1.1, allocations: 219.5 kB / 1.406 GB, free: 4.078 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/1.1, allocations: 0 / 1.406 GB, free: 4.078 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/1.1, allocations: 0 / 1.406 GB, free: 4.078 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/1.1, allocations: 7.938 kB / 1.406 GB, free: 4.07 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009728/1.101, allocations: 0.6798 MB / 1.406 GB, free: 3.312 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/1.101, allocations: 4.031 kB / 1.406 GB, free: 3.309 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001265/1.101, allocations: 35.86 kB / 1.406 GB, free: 3.273 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/1.101, allocations: 0 / 1.406 GB, free: 3.273 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.498e-05/1.101, allocations: 4 kB / 1.406 GB, free: 3.27 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/1.101, allocations: 7.938 kB / 1.406 GB, free: 3.262 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/1.101, allocations: 0 / 1.406 GB, free: 3.262 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004287/1.102, allocations: 341.2 kB / 1.407 GB, free: 2.891 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001042/1.102, allocations: 124.8 kB / 1.407 GB, free: 2.75 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.196e-05/1.102, allocations: 7.984 kB / 1.407 GB, free: 2.742 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001523/1.102, allocations: 16 kB / 1.407 GB, free: 2.727 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.816e-05/1.102, allocations: 11.98 kB / 1.407 GB, free: 2.715 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.059e-05/1.102, allocations: 4 kB / 1.407 GB, free: 2.711 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0002035/1.102, allocations: 227 kB / 1.407 GB, free: 2.492 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.1e-07/1.102, allocations: 0 / 1.407 GB, free: 2.492 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0003885/1.103, allocations: 71.89 kB / 1.407 GB, free: 2.422 MB / 1.123 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.0004292/1.103, allocations: 161.3 kB / 1.407 GB, free: 2.262 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0004083/1.104, allocations: 163.8 kB / 1.407 GB, free: 2.102 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/1.104, allocations: 4 kB / 1.407 GB, free: 2.098 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0001765/1.104, allocations: 79.83 kB / 1.407 GB, free: 2.02 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008091/1.105, allocations: 157.8 kB / 1.408 GB, free: 1.867 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008792/1.106, allocations: 0.5285 MB / 1.408 GB, free: 1.293 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000329/1.106, allocations: 0.7795 MB / 1.409 GB, free: 496 kB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0001764/1.106, allocations: 62.92 kB / 1.409 GB, free: 432 kB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.224e-05/1.106, allocations: 23.44 kB / 1.409 GB, free: 408 kB / 1.123 GB Notification: Performance of SimCode: time 2.1e-07/1.106, allocations: 0 / 1.409 GB, free: 408 kB / 1.123 GB Notification: Performance of Templates: time 0.01005/1.116, allocations: 5.151 MB / 1.414 GB, free: 11.32 MB / 1.139 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches