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.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.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.001645/0.001645, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001753/0.001753, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.365/1.365, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.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.311/2.311, allocations: 390.2 MB / 0.6642 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 63.89 kB / 0.8118 GB, free: 14.91 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.745/0.7462, allocations: 140.4 MB / 0.9489 GB, free: 9.156 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.2222/0.9685, allocations: 167.2 MB / 1.112 GB, free: 10.34 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01017/0.9787, allocations: 7.195 MB / 1.119 GB, free: 3.125 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005846/0.9793, allocations: 11.94 kB / 1.119 GB, free: 3.113 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0006092/0.9799, allocations: 139.1 kB / 1.119 GB, free: 2.977 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.003756/0.9838, allocations: 1.195 MB / 1.121 GB, free: 1.777 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001725/0.9855, allocations: 0.5695 MB / 1.121 GB, free: 1.211 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001347/0.9869, allocations: 1.053 MB / 1.122 GB, free: 160 kB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004288/0.9873, allocations: 258 kB / 1.122 GB, free: 15.9 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001379/0.9887, allocations: 0.5253 MB / 1.123 GB, free: 15.38 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009348/0.9896, allocations: 430.5 kB / 1.123 GB, free: 14.95 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 4.636e-05/0.9897, allocations: 16 kB / 1.123 GB, free: 14.94 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00282/0.9925, allocations: 1.469 MB / 1.125 GB, free: 13.46 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001569/0.9927, allocations: 107.6 kB / 1.125 GB, free: 13.36 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001925/0.9929, allocations: 171.1 kB / 1.125 GB, free: 13.19 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001788/0.9947, allocations: 0.9855 MB / 1.126 GB, free: 12.2 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.9947, allocations: 0 / 1.126 GB, free: 12.2 MB / 0.8887 GB Notification: Performance of FrontEnd: time 7.32e-07/0.9947, allocations: 0 / 1.126 GB, free: 12.2 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.622e-06/0.9947, allocations: 0 / 1.126 GB, free: 12.2 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.00104/0.9958, allocations: 0.6896 MB / 1.127 GB, free: 11.46 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.9958, allocations: 12.03 kB / 1.127 GB, free: 11.45 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001048/0.9969, allocations: 123.4 kB / 1.127 GB, free: 11.33 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004519/0.9973, allocations: 333.1 kB / 1.127 GB, free: 10.96 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.632e-05/0.9974, allocations: 46.27 kB / 1.127 GB, free: 10.91 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.33e-05/0.9975, allocations: 28 kB / 1.127 GB, free: 10.89 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006693/0.9982, allocations: 374.1 kB / 1.128 GB, free: 10.5 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.9982, allocations: 0 / 1.128 GB, free: 10.5 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.555e-05/0.9982, allocations: 12 kB / 1.128 GB, free: 10.49 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.9982, allocations: 4 kB / 1.128 GB, free: 10.48 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005225/0.9988, allocations: 274 kB / 1.128 GB, free: 10.21 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.00202/1.001, allocations: 1.5 MB / 1.129 GB, free: 8.59 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004276/1.001, allocations: 194.6 kB / 1.129 GB, free: 8.391 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002342/1.001, allocations: 116.8 kB / 1.13 GB, free: 8.273 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001181/1.003, allocations: 0.5053 MB / 1.13 GB, free: 7.676 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.747e-05/1.003, allocations: 34.5 kB / 1.13 GB, free: 7.633 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=15): time 2.325e-06/1.003, allocations: 0 / 1.13 GB, free: 7.633 MB / 0.8887 GB Notification: Performance of matching and sorting (n=15): time 0.001063/1.004, allocations: 366.7 kB / 1.13 GB, free: 7.27 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.863e-05/1.004, allocations: 51.41 kB / 1.13 GB, free: 7.207 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003669/1.004, allocations: 312.5 kB / 1.131 GB, free: 6.895 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 3.411e-05/1.004, allocations: 29.7 kB / 1.131 GB, free: 6.859 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001654/1.004, allocations: 192 kB / 1.131 GB, free: 6.668 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 4.558e-05/1.004, allocations: 51.34 kB / 1.131 GB, free: 6.617 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.644e-05/1.005, allocations: 49.61 kB / 1.131 GB, free: 6.562 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001376/1.005, allocations: 338.8 kB / 1.131 GB, free: 6.223 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002159/1.005, allocations: 83.92 kB / 1.131 GB, free: 6.141 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002559/1.005, allocations: 159.6 kB / 1.132 GB, free: 5.965 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004283/1.006, allocations: 238.6 kB / 1.132 GB, free: 5.711 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/1.006, allocations: 0 / 1.132 GB, free: 5.711 MB / 0.8887 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006306/1.006, allocations: 279.1 kB / 1.132 GB, free: 5.434 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/1.006, allocations: 7.938 kB / 1.132 GB, free: 5.426 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/1.006, allocations: 7.938 kB / 1.132 GB, free: 5.418 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/1.006, allocations: 192 / 1.132 GB, free: 5.418 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002455/1.007, allocations: 47.97 kB / 1.132 GB, free: 5.371 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/1.007, allocations: 4 kB / 1.132 GB, free: 5.367 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002657/1.007, allocations: 31.67 kB / 1.132 GB, free: 5.336 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.897e-05/1.007, allocations: 16 kB / 1.132 GB, free: 5.32 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.000188/1.007, allocations: 153.7 kB / 1.132 GB, free: 5.16 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001178/1.007, allocations: 31.62 kB / 1.132 GB, free: 5.129 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007448/1.008, allocations: 312.1 kB / 1.133 GB, free: 4.816 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/1.008, allocations: 4 kB / 1.133 GB, free: 4.812 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.371e-06/1.008, allocations: 0 / 1.133 GB, free: 4.812 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/1.008, allocations: 4.031 kB / 1.133 GB, free: 4.809 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001368/1.009, allocations: 0.8121 MB / 1.134 GB, free: 3.918 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/1.009, allocations: 0 / 1.134 GB, free: 3.918 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001894/1.01, allocations: 44.12 kB / 1.134 GB, free: 3.875 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/1.01, allocations: 0 / 1.134 GB, free: 3.875 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.228e-05/1.01, allocations: 12.03 kB / 1.134 GB, free: 3.863 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.182e-06/1.01, allocations: 11.94 kB / 1.134 GB, free: 3.852 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/1.01, allocations: 7.938 kB / 1.134 GB, free: 3.844 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006103/1.01, allocations: 390.9 kB / 1.134 GB, free: 3.426 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001368/1.01, allocations: 136.7 kB / 1.134 GB, free: 3.273 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.705e-05/1.011, allocations: 3.938 kB / 1.134 GB, free: 3.27 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002693/1.011, allocations: 27.98 kB / 1.134 GB, free: 3.242 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.22e-05/1.011, allocations: 15.92 kB / 1.134 GB, free: 3.227 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.06e-05/1.011, allocations: 15.98 kB / 1.134 GB, free: 3.211 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.000227/1.011, allocations: 223 kB / 1.134 GB, free: 2.992 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.2e-07/1.011, allocations: 4 kB / 1.134 GB, free: 2.988 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0005594/1.012, allocations: 119.8 kB / 1.134 GB, free: 2.871 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.0006367/1.012, allocations: 231.4 kB / 1.135 GB, free: 2.645 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0005398/1.013, allocations: 211.7 kB / 1.135 GB, free: 2.438 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/1.013, allocations: 4.375 kB / 1.135 GB, free: 2.434 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.000239/1.013, allocations: 119.8 kB / 1.135 GB, free: 2.316 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009438/1.014, allocations: 159 kB / 1.135 GB, free: 2.164 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001156/1.015, allocations: 0.7003 MB / 1.136 GB, free: 1.41 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000393/1.016, allocations: 0.7836 MB / 1.137 GB, free: 0.5977 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0003081/1.016, allocations: 82.88 kB / 1.137 GB, free: 0.5156 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.324e-05/1.016, allocations: 27.44 kB / 1.137 GB, free: 500 kB / 0.8887 GB Notification: Performance of SimCode: time 8.01e-07/1.016, allocations: 0 / 1.137 GB, free: 500 kB / 0.8887 GB Notification: Performance of Templates: time 0.01502/1.031, allocations: 7.003 MB / 1.144 GB, free: 9.578 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches