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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001645/0.001645, allocations: 103.3 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.001711/0.001711, allocations: 189.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.411/1.411, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.556/2.556, allocations: 437.1 MB / 0.711 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002165/0.002165, allocations: 71.78 kB / 0.8699 GB, free: 2.238 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3444/0.3466, allocations: 151.6 MB / 1.018 GB, free: 10.68 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.7243/1.071, allocations: 169.4 MB / 1.183 GB, free: 6.301 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.009421/1.08, allocations: 7.14 MB / 1.19 GB, free: 0.5156 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005282/1.081, allocations: 16.59 kB / 1.19 GB, free: 0.5078 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0005624/1.081, allocations: 169.1 kB / 1.191 GB, free: 368 kB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.003348/1.085, allocations: 1.264 MB / 1.192 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.00177/1.087, allocations: 0.6212 MB / 1.192 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001071/1.088, allocations: 0.7634 MB / 1.193 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004925/1.088, allocations: 295.2 kB / 1.193 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001321/1.09, allocations: 0.5682 MB / 1.194 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000925/1.091, allocations: 419.4 kB / 1.194 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 5.598e-05/1.091, allocations: 25.75 kB / 1.194 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002441/1.093, allocations: 1.248 MB / 1.196 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001545/1.093, allocations: 113 kB / 1.196 GB, free: 12.99 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002392/1.093, allocations: 182.5 kB / 1.196 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.00171/1.095, allocations: 0.8854 MB / 1.197 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/1.095, allocations: 1.188 kB / 1.197 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of FrontEnd: time 3.537e-06/1.095, allocations: 0 / 1.197 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 8.115e-06/1.095, allocations: 7.875 kB / 1.197 GB, free: 12.33 MB / 0.9044 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.001135/1.096, allocations: 0.6884 MB / 1.197 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/1.096, allocations: 13.27 kB / 1.197 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00108/1.097, allocations: 126.1 kB / 1.198 GB, free: 11.67 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004626/1.098, allocations: 329.8 kB / 1.198 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.45e-05/1.098, allocations: 54.5 kB / 1.198 GB, free: 11.31 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.379e-05/1.098, allocations: 25.75 kB / 1.198 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006619/1.099, allocations: 368.1 kB / 1.198 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/1.099, allocations: 3.938 kB / 1.198 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.413e-05/1.099, allocations: 10.84 kB / 1.198 GB, free: 11.06 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/1.099, allocations: 6.844 kB / 1.198 GB, free: 11.06 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005513/1.099, allocations: 270.6 kB / 1.199 GB, free: 10.93 MB / 0.9044 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.002075/1.102, allocations: 1.498 MB / 1.2 GB, free: 9.57 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004133/1.102, allocations: 206.6 kB / 1.2 GB, free: 9.453 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002111/1.102, allocations: 117 kB / 1.2 GB, free: 9.395 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001086/1.103, allocations: 0.501 MB / 1.201 GB, free: 8.875 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.264e-05/1.103, allocations: 32.34 kB / 1.201 GB, free: 8.836 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=15): time 2.255e-06/1.103, allocations: 0 / 1.201 GB, free: 8.836 MB / 0.9044 GB Notification: Performance of matching and sorting (n=15): time 0.0009865/1.104, allocations: 363.9 kB / 1.201 GB, free: 8.648 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.522e-05/1.104, allocations: 54.19 kB / 1.201 GB, free: 8.586 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003475/1.105, allocations: 316.4 kB / 1.202 GB, free: 8.375 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.478e-05/1.105, allocations: 25.7 kB / 1.202 GB, free: 8.344 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.000145/1.105, allocations: 188.9 kB / 1.202 GB, free: 8.172 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.959e-05/1.105, allocations: 43.23 kB / 1.202 GB, free: 8.137 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.296e-05/1.105, allocations: 50.58 kB / 1.202 GB, free: 8.098 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001585/1.105, allocations: 338.6 kB / 1.202 GB, free: 7.766 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001987/1.105, allocations: 90.27 kB / 1.202 GB, free: 7.723 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002464/1.106, allocations: 152.1 kB / 1.202 GB, free: 7.609 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004164/1.106, allocations: 234.4 kB / 1.203 GB, free: 7.457 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/1.106, allocations: 10.34 kB / 1.203 GB, free: 7.449 MB / 0.9044 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005785/1.107, allocations: 278.6 kB / 1.203 GB, free: 7.301 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/1.107, allocations: 5.531 kB / 1.203 GB, free: 7.301 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/1.107, allocations: 2.562 kB / 1.203 GB, free: 7.301 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/1.107, allocations: 2.531 kB / 1.203 GB, free: 7.301 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002346/1.107, allocations: 45.09 kB / 1.203 GB, free: 7.289 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/1.107, allocations: 6.531 kB / 1.203 GB, free: 7.285 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002448/1.107, allocations: 33.95 kB / 1.203 GB, free: 7.262 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.54e-05/1.107, allocations: 9.531 kB / 1.203 GB, free: 7.262 MB / 0.9044 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.0001769/1.108, allocations: 158.8 kB / 1.203 GB, free: 7.117 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001106/1.108, allocations: 28.98 kB / 1.203 GB, free: 7.102 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007163/1.108, allocations: 321.6 kB / 1.204 GB, free: 6.914 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.219e-06/1.108, allocations: 3.875 kB / 1.204 GB, free: 6.914 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/1.108, allocations: 0 / 1.204 GB, free: 6.914 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/1.108, allocations: 6.734 kB / 1.204 GB, free: 6.91 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00135/1.11, allocations: 0.8086 MB / 1.204 GB, free: 6.258 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/1.11, allocations: 2.594 kB / 1.204 GB, free: 6.258 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001829/1.11, allocations: 38.05 kB / 1.204 GB, free: 6.246 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/1.11, allocations: 1.781 kB / 1.204 GB, free: 6.246 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.9e-05/1.11, allocations: 9.938 kB / 1.204 GB, free: 6.242 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/1.11, allocations: 6.281 kB / 1.204 GB, free: 6.238 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/1.11, allocations: 6.422 kB / 1.204 GB, free: 6.234 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006124/1.111, allocations: 401.9 kB / 1.205 GB, free: 5.926 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001579/1.111, allocations: 124.5 kB / 1.205 GB, free: 5.805 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.225e-05/1.111, allocations: 13.09 kB / 1.205 GB, free: 5.797 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002363/1.111, allocations: 15.42 kB / 1.205 GB, free: 5.789 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.359e-05/1.111, allocations: 15.67 kB / 1.205 GB, free: 5.781 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.935e-05/1.111, allocations: 15.67 kB / 1.205 GB, free: 5.773 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.000227/1.111, allocations: 233.8 kB / 1.205 GB, free: 5.621 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.5e-07/1.111, allocations: 0 / 1.205 GB, free: 5.621 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0005492/1.112, allocations: 121 kB / 1.205 GB, free: 5.594 MB / 0.9044 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.0005582/1.113, allocations: 217.4 kB / 1.206 GB, free: 5.461 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005329/1.113, allocations: 228.6 kB / 1.206 GB, free: 5.355 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/1.113, allocations: 2.562 kB / 1.206 GB, free: 5.355 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002298/1.113, allocations: 118.9 kB / 1.206 GB, free: 5.301 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008954/1.114, allocations: 171.4 kB / 1.206 GB, free: 5.215 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001191/1.115, allocations: 0.6408 MB / 1.207 GB, free: 4.738 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004234/1.116, allocations: 0.7832 MB / 1.207 GB, free: 3.996 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001117/1.116, allocations: 27.97 kB / 1.207 GB, free: 3.988 MB / 0.9044 GB Notification: Performance of SimCode: time 2.385e-06/1.116, allocations: 0 / 1.207 GB, free: 3.988 MB / 0.9044 GB Notification: Performance of Templates: time 0.009557/1.126, allocations: 6.262 MB / 1.214 GB, free: 0.7148 MB / 0.9044 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