Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001432/0.001432, allocations: 108 kB / 15.6 MB, free: 132 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.001715/0.001715, allocations: 193.9 kB / 16.53 MB, free: 6.391 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.389/1.389, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.786/2.786, allocations: 472.6 MB / 0.7451 GB, free: 4.625 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001477, allocations: 63.34 kB / 0.912 GB, free: 33.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3667/0.3682, allocations: 159.9 MB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1937/0.562, allocations: 169.4 MB / 1.234 GB, free: 312 kB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.009723/0.5718, allocations: 7.132 MB / 1.241 GB, free: 9.156 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006466/0.5725, allocations: 19.88 kB / 1.241 GB, free: 9.137 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.000842/0.5734, allocations: 170.7 kB / 1.241 GB, free: 8.969 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00439/0.5778, allocations: 1.256 MB / 1.242 GB, free: 7.707 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002074/0.5799, allocations: 0.6306 MB / 1.243 GB, free: 7.078 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001203/0.5811, allocations: 0.7602 MB / 1.243 GB, free: 6.316 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006617/0.5818, allocations: 290.7 kB / 1.244 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001514/0.5833, allocations: 0.5759 MB / 1.244 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009984/0.5843, allocations: 426.5 kB / 1.245 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 9.755e-05/0.5844, allocations: 24 kB / 1.245 GB, free: 5.004 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002419/0.5869, allocations: 1.243 MB / 1.246 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001609/0.587, allocations: 115.6 kB / 1.246 GB, free: 3.645 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002671/0.5873, allocations: 179.1 kB / 1.246 GB, free: 3.469 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002291/0.5896, allocations: 0.8923 MB / 1.247 GB, free: 2.574 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.5896, allocations: 0 / 1.247 GB, free: 2.574 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.844e-06/0.5896, allocations: 0 / 1.247 GB, free: 2.574 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.139e-05/0.5897, allocations: 4 kB / 1.247 GB, free: 2.57 MB / 0.9981 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.001246/0.5909, allocations: 0.6934 MB / 1.248 GB, free: 1.828 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.591, allocations: 8.031 kB / 1.248 GB, free: 1.82 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001084/0.5921, allocations: 127.4 kB / 1.248 GB, free: 1.695 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004679/0.5925, allocations: 333.1 kB / 1.248 GB, free: 1.328 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.618e-05/0.5926, allocations: 46.27 kB / 1.248 GB, free: 1.277 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.034e-05/0.5927, allocations: 24 kB / 1.248 GB, free: 1.254 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006943/0.5934, allocations: 374.1 kB / 1.249 GB, free: 0.8672 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.5934, allocations: 7.938 kB / 1.249 GB, free: 0.8594 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.35e-05/0.5935, allocations: 8 kB / 1.249 GB, free: 0.8516 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.858e-06/0.5935, allocations: 8 kB / 1.249 GB, free: 0.8438 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005368/0.594, allocations: 278 kB / 1.249 GB, free: 0.5742 MB / 0.9981 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.6159/1.21, allocations: 1.488 MB / 1.25 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004837/1.21, allocations: 195.5 kB / 1.251 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000264/1.211, allocations: 115.8 kB / 1.251 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009918/1.212, allocations: 0.5016 MB / 1.251 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/1.212, allocations: 36.61 kB / 1.251 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=15): time 3.246e-06/1.212, allocations: 3.469 kB / 1.251 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15): time 0.001134/1.213, allocations: 357.5 kB / 1.251 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.228e-05/1.213, allocations: 53.91 kB / 1.252 GB, free: 186 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000452/1.213, allocations: 314.2 kB / 1.252 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.242e-05/1.213, allocations: 32.77 kB / 1.252 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000161/1.214, allocations: 190.2 kB / 1.252 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.625e-05/1.214, allocations: 49.62 kB / 1.252 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001134/1.214, allocations: 43.67 kB / 1.252 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001159/1.214, allocations: 342.2 kB / 1.252 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002425/1.214, allocations: 87.17 kB / 1.253 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003132/1.215, allocations: 149.7 kB / 1.253 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005069/1.215, allocations: 238.5 kB / 1.253 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/1.215, allocations: 1.125 kB / 1.253 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006898/1.216, allocations: 285.9 kB / 1.253 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.474e-05/1.216, allocations: 6.875 kB / 1.253 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/1.216, allocations: 1.625 kB / 1.253 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.232e-05/1.216, allocations: 2.5 kB / 1.253 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002529/1.216, allocations: 41.61 kB / 1.253 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215e-05/1.216, allocations: 3.297 kB / 1.253 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002432/1.216, allocations: 36.89 kB / 1.253 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.477e-05/1.216, allocations: 14.66 kB / 1.253 GB, free: 185.2 MB / 0.9981 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.0001621/1.217, allocations: 152.5 kB / 1.253 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001176/1.217, allocations: 25.95 kB / 1.253 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008485/1.218, allocations: 311.9 kB / 1.254 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.428e-06/1.218, allocations: 3.281 kB / 1.254 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/1.218, allocations: 0.7031 kB / 1.254 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.818e-06/1.218, allocations: 7.656 kB / 1.254 GB, free: 185 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001477/1.219, allocations: 0.8058 MB / 1.255 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/1.219, allocations: 9.922 kB / 1.255 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001928/1.219, allocations: 37.08 kB / 1.255 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/1.219, allocations: 2.938 kB / 1.255 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.95e-05/1.219, allocations: 8.484 kB / 1.255 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.881e-06/1.219, allocations: 3.641 kB / 1.255 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/1.219, allocations: 3.75 kB / 1.255 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005979/1.22, allocations: 404.9 kB / 1.255 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001225/1.22, allocations: 133.8 kB / 1.255 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.838e-05/1.22, allocations: 14.05 kB / 1.255 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002311/1.22, allocations: 15.05 kB / 1.255 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.72e-05/1.22, allocations: 14.38 kB / 1.255 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.005e-05/1.22, allocations: 15.27 kB / 1.255 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002897/1.221, allocations: 231.1 kB / 1.255 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.2e-07/1.221, allocations: 0 / 1.255 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007825/1.222, allocations: 123.1 kB / 1.256 GB, free: 184.2 MB / 0.9981 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.0008529/1.222, allocations: 219.7 kB / 1.256 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000861/1.223, allocations: 237.3 kB / 1.256 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/1.223, allocations: 0 / 1.256 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003546/1.224, allocations: 116.7 kB / 1.256 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001204/1.225, allocations: 162.5 kB / 1.256 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002101/1.227, allocations: 0.6084 MB / 1.257 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00061/1.228, allocations: 0.784 MB / 1.258 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004638/1.228, allocations: 90.11 kB / 1.258 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001404/1.228, allocations: 31.7 kB / 1.258 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of SimCode: time 1.122e-06/1.228, allocations: 7.766 kB / 1.258 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of Templates: time 0.01869/1.247, allocations: 7.278 MB / 1.265 GB, free: 182.6 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.makefile (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_EntropyFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches