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.001192/0.001192, allocations: 101.1 kB / 16.27 MB, free: 6.414 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.001104/0.001105, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.304/1.304, allocations: 222.9 MB / 240.9 MB, free: 15.24 MB / 206.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.258/2.258, allocations: 390.3 MB / 0.6653 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 65.69 kB / 0.8132 GB, free: 33.09 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2855/0.2868, allocations: 140.4 MB / 0.9503 GB, free: 8.863 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.761/1.048, allocations: 167.5 MB / 1.114 GB, free: 5.16 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.007524/1.055, allocations: 6.542 MB / 1.12 GB, free: 5.004 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007138/1.056, allocations: 13.72 kB / 1.12 GB, free: 5.004 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.00058/1.057, allocations: 168.9 kB / 1.12 GB, free: 5 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002574/1.059, allocations: 0.8435 MB / 1.121 GB, free: 4.957 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001086/1.061, allocations: 321.7 kB / 1.122 GB, free: 4.949 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0009821/1.062, allocations: 0.7142 MB / 1.122 GB, free: 4.949 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004737/1.062, allocations: 279.9 kB / 1.123 GB, free: 4.914 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001272/1.063, allocations: 0.5546 MB / 1.123 GB, free: 4.898 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004043/1.064, allocations: 269.7 kB / 1.123 GB, free: 4.898 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.531e-05/1.064, allocations: 22.72 kB / 1.123 GB, free: 4.898 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007553/1.065, allocations: 337.2 kB / 1.124 GB, free: 4.895 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001423/1.065, allocations: 108.3 kB / 1.124 GB, free: 4.895 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001877/1.065, allocations: 163.7 kB / 1.124 GB, free: 4.895 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0007175/1.066, allocations: 458.2 kB / 1.124 GB, free: 4.867 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/1.066, allocations: 0 / 1.124 GB, free: 4.867 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.342e-06/1.066, allocations: 0 / 1.124 GB, free: 4.867 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.133e-06/1.066, allocations: 5.594 kB / 1.124 GB, free: 4.863 MB / 0.8575 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.001002/1.067, allocations: 0.6187 MB / 1.125 GB, free: 20.4 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/1.067, allocations: 10.67 kB / 1.125 GB, free: 20.4 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003279/1.067, allocations: 58.47 kB / 1.125 GB, free: 20.38 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003798/1.067, allocations: 312.4 kB / 1.125 GB, free: 20.14 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.393e-05/1.067, allocations: 20.66 kB / 1.125 GB, free: 20.14 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.71e-05/1.068, allocations: 28.19 kB / 1.125 GB, free: 20.14 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005267/1.068, allocations: 317.5 kB / 1.126 GB, free: 20.04 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/1.068, allocations: 0 / 1.126 GB, free: 20.04 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.493e-05/1.068, allocations: 9.656 kB / 1.126 GB, free: 20.04 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.999e-06/1.068, allocations: 7.125 kB / 1.126 GB, free: 20.04 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004152/1.069, allocations: 213.6 kB / 1.126 GB, free: 20.04 MB / 0.8731 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.001532/1.07, allocations: 1.53 MB / 1.127 GB, free: 18.9 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002457/1.07, allocations: 126.8 kB / 1.128 GB, free: 18.87 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000181/1.071, allocations: 99.34 kB / 1.128 GB, free: 18.86 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006625/1.071, allocations: 301.2 kB / 1.128 GB, free: 18.57 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.703e-05/1.071, allocations: 36.08 kB / 1.128 GB, free: 18.53 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=13): time 2.034e-06/1.071, allocations: 0 / 1.128 GB, free: 18.53 MB / 0.8731 GB Notification: Performance of matching and sorting (n=13): time 0.0007774/1.072, allocations: 271.8 kB / 1.128 GB, free: 18.48 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.841e-05/1.072, allocations: 53.84 kB / 1.128 GB, free: 18.42 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003407/1.072, allocations: 313.1 kB / 1.129 GB, free: 18.31 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.454e-05/1.072, allocations: 30.39 kB / 1.129 GB, free: 18.28 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001102/1.073, allocations: 186.2 kB / 1.129 GB, free: 18.17 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 2.991e-05/1.073, allocations: 42.25 kB / 1.129 GB, free: 18.14 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.195e-05/1.073, allocations: 40.36 kB / 1.129 GB, free: 18.12 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001195/1.073, allocations: 338.4 kB / 1.129 GB, free: 17.81 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001466/1.073, allocations: 59.34 kB / 1.129 GB, free: 17.81 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001745/1.073, allocations: 108.1 kB / 1.129 GB, free: 17.77 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003015/1.073, allocations: 174.8 kB / 1.129 GB, free: 17.71 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/1.073, allocations: 6.531 kB / 1.129 GB, free: 17.71 MB / 0.8731 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004219/1.074, allocations: 220.8 kB / 1.13 GB, free: 17.66 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/1.074, allocations: 6.125 kB / 1.13 GB, free: 17.66 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/1.074, allocations: 1.156 kB / 1.13 GB, free: 17.66 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/1.074, allocations: 2.781 kB / 1.13 GB, free: 17.66 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001727/1.074, allocations: 33.83 kB / 1.13 GB, free: 17.66 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.176e-06/1.074, allocations: 2.156 kB / 1.13 GB, free: 17.66 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001827/1.074, allocations: 35.62 kB / 1.13 GB, free: 17.64 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.912e-05/1.074, allocations: 11.42 kB / 1.13 GB, free: 17.64 MB / 0.8731 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.0001434/1.074, allocations: 149.2 kB / 1.13 GB, free: 17.53 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.93e-05/1.075, allocations: 29.08 kB / 1.13 GB, free: 17.51 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004252/1.075, allocations: 211.7 kB / 1.13 GB, free: 17.47 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/1.075, allocations: 5.406 kB / 1.13 GB, free: 17.46 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/1.075, allocations: 2.062 kB / 1.13 GB, free: 17.46 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/1.075, allocations: 4.016 kB / 1.13 GB, free: 17.46 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00105/1.076, allocations: 0.6774 MB / 1.131 GB, free: 17.1 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/1.076, allocations: 2.125 kB / 1.131 GB, free: 17.1 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001572/1.076, allocations: 29.19 kB / 1.131 GB, free: 17.1 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.611e-06/1.076, allocations: 4.109 kB / 1.131 GB, free: 17.1 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/1.076, allocations: 5.969 kB / 1.131 GB, free: 17.1 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/1.076, allocations: 7.844 kB / 1.131 GB, free: 17.1 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/1.076, allocations: 2.156 kB / 1.131 GB, free: 17.1 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004044/1.077, allocations: 340.8 kB / 1.131 GB, free: 16.89 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001137/1.077, allocations: 116.6 kB / 1.131 GB, free: 16.78 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.022e-05/1.077, allocations: 10.83 kB / 1.131 GB, free: 16.78 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001552/1.077, allocations: 12.88 kB / 1.131 GB, free: 16.77 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.306e-05/1.077, allocations: 13.84 kB / 1.131 GB, free: 16.77 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.075e-05/1.077, allocations: 4.719 kB / 1.131 GB, free: 16.77 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002175/1.077, allocations: 227.9 kB / 1.132 GB, free: 16.69 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/1.077, allocations: 5.094 kB / 1.132 GB, free: 16.69 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.000426/1.078, allocations: 70.09 kB / 1.132 GB, free: 16.68 MB / 0.8731 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.0003833/1.078, allocations: 158 kB / 1.132 GB, free: 16.58 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003943/1.079, allocations: 160.2 kB / 1.132 GB, free: 16.58 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/1.079, allocations: 1.203 kB / 1.132 GB, free: 16.58 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002002/1.079, allocations: 85.73 kB / 1.132 GB, free: 16.58 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008135/1.08, allocations: 159.1 kB / 1.132 GB, free: 16.55 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008767/1.08, allocations: 0.5746 MB / 1.133 GB, free: 16.2 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003562/1.081, allocations: 0.7769 MB / 1.134 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.553e-05/1.081, allocations: 27.42 kB / 1.134 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of SimCode: time 5.01e-07/1.081, allocations: 0 / 1.134 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of Templates: time 0.007054/1.088, allocations: 4.548 MB / 1.138 GB, free: 15.11 MB / 0.8731 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches