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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0008732/0.0008732, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001014/0.001015, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.645/2.645, allocations: 390.9 MB / 0.666 GB, free: 2.41 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000323/0.0003231, allocations: 8 kB / 0.8154 GB, free: 13.57 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7461/0.7465, allocations: 142.4 MB / 0.9544 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1701/0.9166, allocations: 152.2 MB / 1.103 GB, free: 6.891 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.007024/0.9237, allocations: 6.077 MB / 1.109 GB, free: 0.8008 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003718/0.9241, allocations: 15.88 kB / 1.109 GB, free: 0.7852 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000437/0.9245, allocations: 115.1 kB / 1.109 GB, free: 0.6719 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001441/0.926, allocations: 0.5948 MB / 1.11 GB, free: 76 kB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007664/0.9268, allocations: 266.3 kB / 1.11 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0008534/0.9276, allocations: 0.8616 MB / 1.111 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003403/0.928, allocations: 201.3 kB / 1.111 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008872/0.9289, allocations: 466 kB / 1.111 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003766/0.9293, allocations: 263 kB / 1.112 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 3.368e-05/0.9293, allocations: 12 kB / 1.112 GB, free: 14.03 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000445/0.9298, allocations: 199.6 kB / 1.112 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001097/0.9299, allocations: 95.69 kB / 1.112 GB, free: 13.74 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 7.355e-05/0.93, allocations: 85.52 kB / 1.112 GB, free: 13.65 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0003741/0.9303, allocations: 319.2 kB / 1.112 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.9304, allocations: 0 / 1.112 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.613e-06/0.9304, allocations: 0 / 1.112 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 7.794e-06/0.9304, allocations: 0 / 1.112 GB, free: 13.34 MB / 0.8731 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.0007235/0.9311, allocations: 0.5689 MB / 1.113 GB, free: 12.72 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.9311, allocations: 8.031 kB / 1.113 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002873/0.9314, allocations: 63.5 kB / 1.113 GB, free: 12.65 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003536/0.9318, allocations: 297.5 kB / 1.113 GB, free: 12.32 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.12e-05/0.9318, allocations: 16.56 kB / 1.113 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.733e-05/0.9319, allocations: 28 kB / 1.113 GB, free: 12.27 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005225/0.9324, allocations: 323.6 kB / 1.114 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.507e-06/0.9324, allocations: 0 / 1.114 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.511e-05/0.9325, allocations: 12 kB / 1.114 GB, free: 11.92 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.9325, allocations: 4 kB / 1.114 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000401/0.9329, allocations: 221.4 kB / 1.114 GB, free: 11.7 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.00143/0.9343, allocations: 1.546 MB / 1.115 GB, free: 10.02 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002238/0.9345, allocations: 118.5 kB / 1.115 GB, free: 9.891 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001722/0.9347, allocations: 100.8 kB / 1.116 GB, free: 9.789 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005547/0.9353, allocations: 319.2 kB / 1.116 GB, free: 9.422 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.708e-05/0.9353, allocations: 30.56 kB / 1.116 GB, free: 9.383 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=13): time 1.202e-06/0.9353, allocations: 0 / 1.116 GB, free: 9.383 MB / 0.8731 GB Notification: Performance of matching and sorting (n=13): time 0.0007074/0.936, allocations: 293.4 kB / 1.116 GB, free: 9.09 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.365e-05/0.9361, allocations: 55.41 kB / 1.116 GB, free: 9.023 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003018/0.9364, allocations: 308.5 kB / 1.117 GB, free: 8.719 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/0.9364, allocations: 29.69 kB / 1.117 GB, free: 8.684 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001212/0.9366, allocations: 180.1 kB / 1.117 GB, free: 8.504 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.463e-05/0.9366, allocations: 47.45 kB / 1.117 GB, free: 8.457 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.206e-06/0.9366, allocations: 0 / 1.117 GB, free: 8.457 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.9368, allocations: 342.8 kB / 1.117 GB, free: 8.113 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001423/0.9369, allocations: 59.95 kB / 1.117 GB, free: 8.055 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001862/0.9371, allocations: 122.7 kB / 1.117 GB, free: 7.918 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001551/0.9373, allocations: 83.84 kB / 1.117 GB, free: 7.836 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.9373, allocations: 4 kB / 1.117 GB, free: 7.832 MB / 0.8731 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003937/0.9377, allocations: 225.1 kB / 1.118 GB, free: 7.605 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.9377, allocations: 4 kB / 1.118 GB, free: 7.602 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.9377, allocations: 8.156 kB / 1.118 GB, free: 7.594 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.9377, allocations: 0 / 1.118 GB, free: 7.594 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001597/0.9379, allocations: 31.98 kB / 1.118 GB, free: 7.562 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.98e-05/0.9379, allocations: 11.92 kB / 1.118 GB, free: 7.551 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001854/0.9381, allocations: 43.66 kB / 1.118 GB, free: 7.508 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.667e-05/0.9381, allocations: 8 kB / 1.118 GB, free: 7.5 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001282/0.9383, allocations: 149.8 kB / 1.118 GB, free: 7.344 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.398e-05/0.9383, allocations: 23.72 kB / 1.118 GB, free: 7.32 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004181/0.9388, allocations: 217.1 kB / 1.118 GB, free: 7.102 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.137e-06/0.9388, allocations: 8 kB / 1.118 GB, free: 7.094 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.298e-05/0.9388, allocations: 4 kB / 1.118 GB, free: 7.09 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.9388, allocations: 0 / 1.118 GB, free: 7.09 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009429/0.9397, allocations: 0.6951 MB / 1.119 GB, free: 6.316 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.9398, allocations: 0 / 1.119 GB, free: 6.316 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001289/0.9399, allocations: 31.92 kB / 1.119 GB, free: 6.285 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.9399, allocations: 8.219 kB / 1.119 GB, free: 6.277 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.499e-05/0.9399, allocations: 8 kB / 1.119 GB, free: 6.27 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.9399, allocations: 3.984 kB / 1.119 GB, free: 6.266 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.9399, allocations: 4 kB / 1.119 GB, free: 6.262 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004184/0.9404, allocations: 351.6 kB / 1.119 GB, free: 5.883 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 9.617e-05/0.9405, allocations: 116.7 kB / 1.119 GB, free: 5.75 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.755e-05/0.9405, allocations: 12 kB / 1.119 GB, free: 5.738 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001674/0.9407, allocations: 15.98 kB / 1.119 GB, free: 5.723 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.197e-05/0.9407, allocations: 19.94 kB / 1.119 GB, free: 5.703 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/0.9408, allocations: 4 kB / 1.119 GB, free: 5.699 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001951/0.941, allocations: 223 kB / 1.12 GB, free: 5.48 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.483e-06/0.941, allocations: 4 kB / 1.12 GB, free: 5.477 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003527/0.9413, allocations: 71.78 kB / 1.12 GB, free: 5.406 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003391/0.9417, allocations: 165.8 kB / 1.12 GB, free: 5.242 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003642/0.9421, allocations: 159.8 kB / 1.12 GB, free: 5.086 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.9421, allocations: 320 / 1.12 GB, free: 5.086 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001826/0.9423, allocations: 91.89 kB / 1.12 GB, free: 4.996 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007477/0.943, allocations: 142.3 kB / 1.12 GB, free: 4.859 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008668/0.9439, allocations: 0.629 MB / 1.121 GB, free: 4.18 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003924/0.9443, allocations: 0.7798 MB / 1.121 GB, free: 3.371 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002034/0.9445, allocations: 67.11 kB / 1.122 GB, free: 3.305 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.702e-05/0.9446, allocations: 23.44 kB / 1.122 GB, free: 3.281 MB / 0.8731 GB Notification: Performance of SimCode: time 2.2e-07/0.9446, allocations: 0 / 1.122 GB, free: 3.281 MB / 0.8731 GB Notification: Performance of Templates: time 0.008981/0.9536, allocations: 4.689 MB / 1.126 GB, free: 14.68 MB / 0.8887 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