Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.EntropyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senM_flow.m_flow|senS_flow.S_flow|senS.s",fileNamePrefix="Buildings_9_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_9_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.008202/0.008203, allocations: 101.9 kB / 15.88 MB, free: 5.867 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.002114/0.002114, allocations: 191.5 kB / 16.79 MB, free: 5.809 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.377/1.377, allocations: 222.9 MB / 240.5 MB, free: 4.43 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.513/2.513, allocations: 390.2 MB / 0.6649 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001476, allocations: 67.91 kB / 0.8125 GB, free: 14.9 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6858/0.6873, allocations: 140.3 MB / 0.9496 GB, free: 9.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1859/0.8732, allocations: 167.2 MB / 1.113 GB, free: 10.34 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.008868/0.8821, allocations: 7.209 MB / 1.12 GB, free: 3.109 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005285/0.8827, allocations: 11.94 kB / 1.12 GB, free: 3.098 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0006641/0.8834, allocations: 131.1 kB / 1.12 GB, free: 2.969 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.003594/0.887, allocations: 1.199 MB / 1.121 GB, free: 1.766 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001633/0.8887, allocations: 0.5678 MB / 1.122 GB, free: 1.203 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001113/0.8898, allocations: 1.057 MB / 1.123 GB, free: 148 kB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000435/0.8903, allocations: 246.1 kB / 1.123 GB, free: 15.9 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001142/0.8914, allocations: 0.5331 MB / 1.124 GB, free: 15.37 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008017/0.8922, allocations: 422.6 kB / 1.124 GB, free: 14.95 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 5.115e-05/0.8923, allocations: 20 kB / 1.124 GB, free: 14.93 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002673/0.895, allocations: 1.469 MB / 1.125 GB, free: 13.46 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001478/0.8951, allocations: 111.6 kB / 1.126 GB, free: 13.35 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0002278/0.8954, allocations: 175.1 kB / 1.126 GB, free: 13.18 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001133/0.8965, allocations: 0.6277 MB / 1.126 GB, free: 12.55 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.665e-06/0.8965, allocations: 4 kB / 1.126 GB, free: 12.55 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.382e-06/0.8965, allocations: 0 / 1.126 GB, free: 12.55 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.797e-05/0.8966, allocations: 0 / 1.126 GB, free: 12.55 MB / 0.8887 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.001285/0.8978, allocations: 0.6935 MB / 1.127 GB, free: 11.8 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.8979, allocations: 8.031 kB / 1.127 GB, free: 11.8 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00112/0.899, allocations: 123.4 kB / 1.127 GB, free: 11.68 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005011/0.8995, allocations: 337 kB / 1.127 GB, free: 11.3 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.003e-05/0.8996, allocations: 50.27 kB / 1.127 GB, free: 11.25 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.759e-05/0.8997, allocations: 24 kB / 1.127 GB, free: 11.23 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007252/0.9004, allocations: 370.1 kB / 1.128 GB, free: 10.84 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.9004, allocations: 0 / 1.128 GB, free: 10.84 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.611e-05/0.9005, allocations: 12 kB / 1.128 GB, free: 10.83 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.9005, allocations: 8 kB / 1.128 GB, free: 10.82 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005529/0.9011, allocations: 274 kB / 1.128 GB, free: 10.55 MB / 0.8887 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.002046/0.9031, allocations: 1.492 MB / 1.13 GB, free: 8.938 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004214/0.9036, allocations: 190.6 kB / 1.13 GB, free: 8.742 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000232/0.9038, allocations: 120.8 kB / 1.13 GB, free: 8.621 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001124/0.9049, allocations: 0.5014 MB / 1.13 GB, free: 8.027 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.533e-05/0.905, allocations: 30.56 kB / 1.13 GB, free: 7.988 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=15): time 2.255e-06/0.905, allocations: 3.938 kB / 1.13 GB, free: 7.984 MB / 0.8887 GB Notification: Performance of matching and sorting (n=15): time 0.001014/0.906, allocations: 366.9 kB / 1.131 GB, free: 7.621 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.092e-05/0.9061, allocations: 51.41 kB / 1.131 GB, free: 7.559 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003324/0.9064, allocations: 316.5 kB / 1.131 GB, free: 7.242 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 4.457e-05/0.9065, allocations: 29.7 kB / 1.131 GB, free: 7.207 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001389/0.9066, allocations: 196 kB / 1.131 GB, free: 7.012 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 5.675e-05/0.9067, allocations: 51.36 kB / 1.131 GB, free: 6.961 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.781e-05/0.9068, allocations: 45.61 kB / 1.131 GB, free: 6.91 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.9069, allocations: 338.8 kB / 1.132 GB, free: 6.57 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000207/0.9071, allocations: 83.92 kB / 1.132 GB, free: 6.488 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002404/0.9074, allocations: 150.6 kB / 1.132 GB, free: 6.32 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004311/0.9078, allocations: 237.8 kB / 1.132 GB, free: 6.066 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.9078, allocations: 0 / 1.132 GB, free: 6.066 MB / 0.8887 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006186/0.9084, allocations: 277.6 kB / 1.132 GB, free: 5.789 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.9085, allocations: 4 kB / 1.132 GB, free: 5.785 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.9085, allocations: 11.94 kB / 1.132 GB, free: 5.773 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.9085, allocations: 4 kB / 1.132 GB, free: 5.77 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002324/0.9087, allocations: 36.17 kB / 1.132 GB, free: 5.734 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.319e-05/0.9088, allocations: 7.984 kB / 1.133 GB, free: 5.727 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002519/0.909, allocations: 43.61 kB / 1.133 GB, free: 5.684 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.591e-05/0.9091, allocations: 8 kB / 1.133 GB, free: 5.676 MB / 0.8887 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.0001796/0.9093, allocations: 157.7 kB / 1.133 GB, free: 5.512 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001167/0.9094, allocations: 27.62 kB / 1.133 GB, free: 5.484 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007185/0.9101, allocations: 324.1 kB / 1.133 GB, free: 5.16 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.9101, allocations: 0 / 1.133 GB, free: 5.16 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/0.9101, allocations: 0 / 1.133 GB, free: 5.16 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.9101, allocations: 0 / 1.133 GB, free: 5.16 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001373/0.9115, allocations: 0.8083 MB / 1.134 GB, free: 4.273 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.9115, allocations: 0 / 1.134 GB, free: 4.273 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001945/0.9117, allocations: 40.14 kB / 1.134 GB, free: 4.234 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.533e-06/0.9117, allocations: 4 kB / 1.134 GB, free: 4.23 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.235e-05/0.9118, allocations: 7.938 kB / 1.134 GB, free: 4.223 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.191e-06/0.9118, allocations: 3.984 kB / 1.134 GB, free: 4.219 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.9118, allocations: 7.938 kB / 1.134 GB, free: 4.211 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006575/0.9125, allocations: 403.5 kB / 1.134 GB, free: 3.781 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000166/0.9126, allocations: 132.7 kB / 1.134 GB, free: 3.633 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.92e-05/0.9127, allocations: 7.984 kB / 1.134 GB, free: 3.625 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002784/0.913, allocations: 31.95 kB / 1.134 GB, free: 3.594 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.249e-05/0.9131, allocations: 15.92 kB / 1.134 GB, free: 3.578 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.122e-05/0.9131, allocations: 15.98 kB / 1.134 GB, free: 3.562 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0002361/0.9133, allocations: 223.1 kB / 1.135 GB, free: 3.344 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9133, allocations: 0 / 1.135 GB, free: 3.344 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.000577/0.9139, allocations: 119.8 kB / 1.135 GB, free: 3.227 MB / 0.8887 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.0006645/0.9146, allocations: 238.7 kB / 1.135 GB, free: 2.992 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0005155/0.9151, allocations: 221 kB / 1.135 GB, free: 2.777 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/0.9151, allocations: 384 / 1.135 GB, free: 2.777 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0002319/0.9154, allocations: 115.8 kB / 1.135 GB, free: 2.664 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009203/0.9163, allocations: 159.4 kB / 1.135 GB, free: 2.512 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001222/0.9175, allocations: 0.727 MB / 1.136 GB, free: 1.727 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003846/0.9179, allocations: 0.7836 MB / 1.137 GB, free: 0.9141 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000115/0.9181, allocations: 31.44 kB / 1.137 GB, free: 0.8828 MB / 0.8887 GB Notification: Performance of SimCode: time 2.11e-07/0.9181, allocations: 4 kB / 1.137 GB, free: 0.8789 MB / 0.8887 GB Notification: Performance of Templates: time 0.01011/0.9282, allocations: 6.241 MB / 1.143 GB, free: 10.69 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.makefile (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_EntropyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches