Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.00831/0.00831, allocations: 98.95 kB / 15.73 MB, free: 6.055 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.001707/0.001707, allocations: 202.9 kB / 16.68 MB, free: 5.977 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.407/1.407, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.436/2.436, allocations: 390.2 MB / 0.6648 GB, free: 252 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 64.09 kB / 0.9509 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2712/0.2724, allocations: 140.4 MB / 1.088 GB, free: 1.492 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1779/0.4504, allocations: 167.5 MB / 1.252 GB, free: 9.316 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.007513/0.458, allocations: 6.539 MB / 1.258 GB, free: 2.758 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004491/0.4584, allocations: 11.94 kB / 1.258 GB, free: 2.746 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0005924/0.4591, allocations: 170.8 kB / 1.258 GB, free: 2.578 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002088/0.4612, allocations: 0.8635 MB / 1.259 GB, free: 1.711 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009773/0.4622, allocations: 340 kB / 1.259 GB, free: 1.383 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0008658/0.4631, allocations: 0.7135 MB / 1.26 GB, free: 0.668 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004552/0.4635, allocations: 278.7 kB / 1.26 GB, free: 404 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.6993/1.163, allocations: 0.5698 MB / 1.261 GB, free: 4.379 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006532/1.163, allocations: 267.9 kB / 1.261 GB, free: 4.379 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 5.351e-05/1.164, allocations: 21.84 kB / 1.261 GB, free: 4.379 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008179/1.164, allocations: 347.6 kB / 1.261 GB, free: 4.379 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001605/1.165, allocations: 104.6 kB / 1.262 GB, free: 4.379 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002346/1.165, allocations: 166.7 kB / 1.262 GB, free: 4.379 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0009127/1.166, allocations: 473.7 kB / 1.262 GB, free: 4.359 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/1.166, allocations: 0 / 1.262 GB, free: 4.359 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.555e-06/1.166, allocations: 1.766 kB / 1.262 GB, free: 4.359 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.145e-06/1.166, allocations: 3.562 kB / 1.262 GB, free: 4.359 MB / 1.014 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.000903/1.167, allocations: 0.6287 MB / 1.263 GB, free: 3.883 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/1.167, allocations: 11.45 kB / 1.263 GB, free: 3.883 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003373/1.167, allocations: 62.41 kB / 1.263 GB, free: 3.863 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005033/1.168, allocations: 324.4 kB / 1.263 GB, free: 3.637 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.44e-05/1.168, allocations: 20.66 kB / 1.263 GB, free: 3.637 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.046e-05/1.168, allocations: 25.66 kB / 1.263 GB, free: 3.637 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006197/1.168, allocations: 319.2 kB / 1.263 GB, free: 3.543 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/1.168, allocations: 0.9062 kB / 1.263 GB, free: 3.543 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.067e-05/1.168, allocations: 9.5 kB / 1.263 GB, free: 3.543 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.348e-05/1.168, allocations: 9.203 kB / 1.263 GB, free: 3.543 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004859/1.169, allocations: 202.8 kB / 1.264 GB, free: 3.543 MB / 1.014 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.001609/1.17, allocations: 1.542 MB / 1.265 GB, free: 2.41 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000317/1.171, allocations: 121.2 kB / 1.265 GB, free: 2.387 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002045/1.171, allocations: 91.75 kB / 1.265 GB, free: 2.379 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00056/1.172, allocations: 303.1 kB / 1.266 GB, free: 2.098 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001964/1.172, allocations: 36.98 kB / 1.266 GB, free: 18.06 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.693e-06/1.172, allocations: 0.7812 kB / 1.266 GB, free: 18.06 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0008278/1.173, allocations: 276.2 kB / 1.266 GB, free: 18.01 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.006e-05/1.173, allocations: 54.7 kB / 1.266 GB, free: 17.95 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003633/1.173, allocations: 309.2 kB / 1.266 GB, free: 17.84 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.45e-05/1.173, allocations: 29.08 kB / 1.266 GB, free: 17.81 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000118/1.173, allocations: 186.7 kB / 1.267 GB, free: 17.7 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.905e-05/1.173, allocations: 47.88 kB / 1.267 GB, free: 17.67 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.993e-05/1.173, allocations: 38.78 kB / 1.267 GB, free: 17.66 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001215/1.173, allocations: 338.8 kB / 1.267 GB, free: 17.34 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001671/1.174, allocations: 57.72 kB / 1.267 GB, free: 17.34 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002038/1.174, allocations: 110.9 kB / 1.267 GB, free: 17.3 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003552/1.174, allocations: 178.9 kB / 1.267 GB, free: 17.25 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/1.174, allocations: 4.531 kB / 1.267 GB, free: 17.25 MB / 1.029 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004745/1.175, allocations: 216.4 kB / 1.267 GB, free: 17.2 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/1.175, allocations: 5.438 kB / 1.267 GB, free: 17.2 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/1.175, allocations: 7.391 kB / 1.267 GB, free: 17.2 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/1.175, allocations: 5.188 kB / 1.267 GB, free: 17.2 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001856/1.175, allocations: 37.5 kB / 1.268 GB, free: 17.2 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/1.175, allocations: 3.141 kB / 1.268 GB, free: 17.2 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001938/1.175, allocations: 36.31 kB / 1.268 GB, free: 17.18 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.8e-05/1.175, allocations: 10.06 kB / 1.268 GB, free: 17.18 MB / 1.029 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.0001463/1.175, allocations: 146.5 kB / 1.268 GB, free: 17.07 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.5e-05/1.175, allocations: 30.17 kB / 1.268 GB, free: 17.05 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000489/1.176, allocations: 214.8 kB / 1.268 GB, free: 17.01 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/1.176, allocations: 1.781 kB / 1.268 GB, free: 17.01 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/1.176, allocations: 1.031 kB / 1.268 GB, free: 17.01 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/1.176, allocations: 1.484 kB / 1.268 GB, free: 17.01 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001088/1.177, allocations: 0.6858 MB / 1.269 GB, free: 16.65 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.688e-06/1.177, allocations: 1.625 kB / 1.269 GB, free: 16.65 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001458/1.177, allocations: 31.48 kB / 1.269 GB, free: 16.65 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/1.177, allocations: 3.078 kB / 1.269 GB, free: 16.65 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/1.177, allocations: 3.969 kB / 1.269 GB, free: 16.65 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/1.177, allocations: 2.75 kB / 1.269 GB, free: 16.65 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/1.177, allocations: 3.328 kB / 1.269 GB, free: 16.65 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004446/1.178, allocations: 345.2 kB / 1.269 GB, free: 16.45 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001237/1.178, allocations: 116.4 kB / 1.269 GB, free: 16.34 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.549e-05/1.178, allocations: 8 kB / 1.269 GB, free: 16.34 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001704/1.178, allocations: 9.812 kB / 1.269 GB, free: 16.34 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.423e-05/1.178, allocations: 22.28 kB / 1.269 GB, free: 16.34 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/1.178, allocations: 4.219 kB / 1.269 GB, free: 16.34 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002538/1.178, allocations: 225.7 kB / 1.269 GB, free: 16.26 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/1.178, allocations: 0.9688 kB / 1.269 GB, free: 16.26 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004652/1.179, allocations: 79.09 kB / 1.269 GB, free: 16.24 MB / 1.029 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.0003709/1.179, allocations: 161.7 kB / 1.27 GB, free: 16.15 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004426/1.18, allocations: 158 kB / 1.27 GB, free: 16.15 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/1.18, allocations: 0.75 kB / 1.27 GB, free: 16.15 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002008/1.18, allocations: 86.89 kB / 1.27 GB, free: 16.15 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008667/1.181, allocations: 142 kB / 1.27 GB, free: 16.14 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009079/1.182, allocations: 0.5363 MB / 1.27 GB, free: 15.84 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003729/1.182, allocations: 0.783 MB / 1.271 GB, free: 15.14 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002076/1.182, allocations: 64.95 kB / 1.271 GB, free: 15.13 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.382e-05/1.182, allocations: 23.59 kB / 1.271 GB, free: 15.12 MB / 1.029 GB Notification: Performance of SimCode: time 2.41e-07/1.182, allocations: 6.062 kB / 1.271 GB, free: 15.12 MB / 1.029 GB Notification: Performance of Templates: time 0.01345/1.196, allocations: 5.144 MB / 1.276 GB, free: 15 MB / 1.029 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches