Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.EntropyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senM_flow.m_flow|senS_flow.S_flow|senS.s",fileNamePrefix="Buildings_10_Buildings.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senM_flow.m_flow|senS_flow.S_flow|senS.s",fileNamePrefix="Buildings_10_Buildings.Fluid.Sensors.Examples.EntropyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009571/0.0009571, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001199/0.001199, allocations: 183.8 kB / 16.92 MB, free: 6.922 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.371/1.371, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.697/2.697, allocations: 437.8 MB / 0.7128 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003555/0.0003556, allocations: 8 kB / 0.8735 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7234/0.7238, allocations: 153.8 MB / 1.024 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1767/0.9006, allocations: 165 MB / 1.185 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.008545/0.9092, allocations: 7.123 MB / 1.192 GB, free: 3.098 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005616/0.9098, allocations: 7.938 kB / 1.192 GB, free: 3.09 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0005302/0.9103, allocations: 139.1 kB / 1.192 GB, free: 2.953 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.003005/0.9133, allocations: 1.183 MB / 1.193 GB, free: 1.766 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.00158/0.9149, allocations: 0.5766 MB / 1.194 GB, free: 1.191 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001169/0.9161, allocations: 1.049 MB / 1.195 GB, free: 140 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004221/0.9165, allocations: 246.1 kB / 1.195 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00114/0.9177, allocations: 0.5136 MB / 1.195 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008204/0.9185, allocations: 430.5 kB / 1.196 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 4.434e-05/0.9186, allocations: 16 kB / 1.196 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002454/0.921, allocations: 1.465 MB / 1.197 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001486/0.9212, allocations: 107.7 kB / 1.197 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002084/0.9214, allocations: 188.8 kB / 1.198 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001042/0.9225, allocations: 0.6197 MB / 1.198 GB, free: 12.56 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.9225, allocations: 4 kB / 1.198 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.354e-06/0.9225, allocations: 0 / 1.198 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.147e-06/0.9225, allocations: 0 / 1.198 GB, free: 12.55 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001052/0.9236, allocations: 0.6311 MB / 1.199 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.9236, allocations: 12.03 kB / 1.199 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001067/0.9247, allocations: 131.4 kB / 1.199 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004639/0.9252, allocations: 325.1 kB / 1.199 GB, free: 11.38 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.433e-05/0.9253, allocations: 54.2 kB / 1.199 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.53e-05/0.9253, allocations: 27.98 kB / 1.199 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006595/0.926, allocations: 378.2 kB / 1.2 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.926, allocations: 3.938 kB / 1.2 GB, free: 10.9 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.503e-05/0.9261, allocations: 12 kB / 1.2 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.969e-06/0.9261, allocations: 4 kB / 1.2 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005636/0.9266, allocations: 290 kB / 1.2 GB, free: 10.6 MB / 0.9512 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.002042/0.9287, allocations: 1.492 MB / 1.201 GB, free: 8.984 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004039/0.9291, allocations: 202.5 kB / 1.202 GB, free: 8.777 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002506/0.9294, allocations: 127 kB / 1.202 GB, free: 8.652 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001065/0.9304, allocations: 0.5209 MB / 1.202 GB, free: 8.039 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/0.9305, allocations: 30.56 kB / 1.202 GB, free: 8 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=15): time 2.305e-06/0.9305, allocations: 4 kB / 1.202 GB, free: 7.996 MB / 0.9512 GB Notification: Performance of matching and sorting (n=15): time 0.001021/0.9315, allocations: 373 kB / 1.203 GB, free: 7.625 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.234e-05/0.9316, allocations: 63.34 kB / 1.203 GB, free: 7.551 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003502/0.9319, allocations: 312.5 kB / 1.203 GB, free: 7.23 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.125e-05/0.932, allocations: 25.7 kB / 1.203 GB, free: 7.199 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001452/0.9321, allocations: 192 kB / 1.203 GB, free: 7.008 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.31e-05/0.9322, allocations: 43.36 kB / 1.203 GB, free: 6.965 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.161e-05/0.9322, allocations: 25.7 kB / 1.203 GB, free: 6.934 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.9324, allocations: 338.8 kB / 1.204 GB, free: 6.594 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002056/0.9326, allocations: 95.92 kB / 1.204 GB, free: 6.5 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002606/0.9329, allocations: 151.6 kB / 1.204 GB, free: 6.332 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004676/0.9333, allocations: 253.8 kB / 1.204 GB, free: 6.062 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.9334, allocations: 0 / 1.204 GB, free: 6.062 MB / 0.9512 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006431/0.934, allocations: 297.1 kB / 1.204 GB, free: 5.766 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.934, allocations: 4 kB / 1.204 GB, free: 5.762 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.934, allocations: 4 kB / 1.204 GB, free: 5.758 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.9341, allocations: 0 / 1.204 GB, free: 5.758 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002444/0.9343, allocations: 51.86 kB / 1.204 GB, free: 5.707 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.261e-06/0.9343, allocations: 0 / 1.204 GB, free: 5.707 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000266/0.9346, allocations: 47.78 kB / 1.204 GB, free: 5.66 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.73e-05/0.9346, allocations: 19.92 kB / 1.204 GB, free: 5.641 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (20): * Single equations (assignments): 20 * 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.0001846/0.9348, allocations: 153.7 kB / 1.205 GB, free: 5.48 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001173/0.935, allocations: 27.62 kB / 1.205 GB, free: 5.453 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007359/0.9357, allocations: 320.2 kB / 1.205 GB, free: 5.137 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.9357, allocations: 4 kB / 1.205 GB, free: 5.133 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.086e-06/0.9357, allocations: 3.984 kB / 1.205 GB, free: 5.129 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.9357, allocations: 0 / 1.205 GB, free: 5.129 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001328/0.9371, allocations: 0.8239 MB / 1.206 GB, free: 4.227 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.9371, allocations: 0 / 1.206 GB, free: 4.227 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001844/0.9373, allocations: 39.92 kB / 1.206 GB, free: 4.188 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.853e-06/0.9373, allocations: 3.938 kB / 1.206 GB, free: 4.184 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.93e-05/0.9373, allocations: 8 kB / 1.206 GB, free: 4.176 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.011e-06/0.9373, allocations: 8.078 kB / 1.206 GB, free: 4.168 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.9373, allocations: 3.938 kB / 1.206 GB, free: 4.164 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006199/0.938, allocations: 411.2 kB / 1.206 GB, free: 3.727 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001383/0.9381, allocations: 132.7 kB / 1.206 GB, free: 3.578 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.419e-05/0.9382, allocations: 15.94 kB / 1.206 GB, free: 3.562 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002676/0.9384, allocations: 27.97 kB / 1.206 GB, free: 3.535 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.819e-05/0.9385, allocations: 15.98 kB / 1.206 GB, free: 3.52 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-05/0.9385, allocations: 8 kB / 1.206 GB, free: 3.512 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002241/0.9388, allocations: 227 kB / 1.207 GB, free: 3.293 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9388, allocations: 3.938 kB / 1.207 GB, free: 3.289 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0005485/0.9393, allocations: 123.8 kB / 1.207 GB, free: 3.168 MB / 0.9512 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 (16): * Single equations (assignments): 16 * 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.0005702/0.9399, allocations: 227 kB / 1.207 GB, free: 2.945 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005243/0.9404, allocations: 224 kB / 1.207 GB, free: 2.727 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.9404, allocations: 8 kB / 1.207 GB, free: 2.719 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002342/0.9407, allocations: 123.8 kB / 1.207 GB, free: 2.598 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009981/0.9417, allocations: 164 kB / 1.207 GB, free: 2.445 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00114/0.9428, allocations: 0.752 MB / 1.208 GB, free: 1.629 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003708/0.9432, allocations: 0.7876 MB / 1.209 GB, free: 0.8164 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001057/0.9433, allocations: 35.44 kB / 1.209 GB, free: 0.7812 MB / 0.9512 GB Notification: Performance of SimCode: time 2.3e-07/0.9434, allocations: 0 / 1.209 GB, free: 0.7812 MB / 0.9512 GB Notification: Performance of Templates: time 0.009504/0.9529, allocations: 6.196 MB / 1.215 GB, free: 10.63 MB / 0.9669 GB make -j1 -f Buildings_10_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.makefile (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./Buildings_10_Buildings.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_EntropyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches