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.001091/0.001091, allocations: 115.6 kB / 16.37 MB, free: 6.004 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.001182/0.001183, allocations: 192.1 kB / 17.31 MB, free: 5.613 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.319/1.319, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.529/2.529, allocations: 437.1 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 68.77 kB / 0.8707 GB, free: 1.449 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3171/0.3184, allocations: 151.6 MB / 1.019 GB, free: 9.855 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.7245/1.043, allocations: 169.4 MB / 1.184 GB, free: 5.875 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.008818/1.052, allocations: 7.134 MB / 1.191 GB, free: 104 kB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006524/1.052, allocations: 11.25 kB / 1.191 GB, free: 100 kB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0006157/1.053, allocations: 170.2 kB / 1.191 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.003533/1.057, allocations: 1.265 MB / 1.193 GB, free: 15 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.00178/1.059, allocations: 0.6399 MB / 1.193 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0009661/1.059, allocations: 0.7505 MB / 1.194 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004084/1.06, allocations: 294 kB / 1.194 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001068/1.061, allocations: 0.5671 MB / 1.195 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007494/1.062, allocations: 432.5 kB / 1.195 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 4.618e-05/1.062, allocations: 24.41 kB / 1.195 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002179/1.064, allocations: 1.245 MB / 1.196 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001364/1.064, allocations: 111.3 kB / 1.197 GB, free: 12.56 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001853/1.064, allocations: 179 kB / 1.197 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001369/1.066, allocations: 0.9018 MB / 1.198 GB, free: 11.9 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/1.066, allocations: 0 / 1.198 GB, free: 11.9 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.874e-06/1.066, allocations: 0 / 1.198 GB, free: 11.9 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 9.718e-06/1.066, allocations: 0 / 1.198 GB, free: 11.9 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.000943/1.067, allocations: 0.6961 MB / 1.198 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/1.067, allocations: 10.42 kB / 1.198 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009379/1.068, allocations: 125.2 kB / 1.198 GB, free: 11.23 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005058/1.068, allocations: 348.7 kB / 1.199 GB, free: 10.91 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.061e-05/1.068, allocations: 50.91 kB / 1.199 GB, free: 10.87 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.118e-05/1.068, allocations: 30.16 kB / 1.199 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005676/1.069, allocations: 367.6 kB / 1.199 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/1.069, allocations: 0 / 1.199 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.09e-05/1.069, allocations: 10.62 kB / 1.199 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/1.069, allocations: 11.5 kB / 1.199 GB, free: 10.61 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004651/1.069, allocations: 270.7 kB / 1.199 GB, free: 10.48 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.001678/1.071, allocations: 1.487 MB / 1.201 GB, free: 9.133 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003572/1.071, allocations: 197.6 kB / 1.201 GB, free: 9.023 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001933/1.072, allocations: 118 kB / 1.201 GB, free: 8.965 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008673/1.073, allocations: 0.5035 MB / 1.202 GB, free: 8.445 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/1.073, allocations: 38.56 kB / 1.202 GB, free: 8.398 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=15): time 1.342e-06/1.073, allocations: 0 / 1.202 GB, free: 8.398 MB / 0.9044 GB Notification: Performance of matching and sorting (n=15): time 0.0008476/1.073, allocations: 359.9 kB / 1.202 GB, free: 8.219 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.583e-05/1.074, allocations: 51.41 kB / 1.202 GB, free: 8.156 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002835/1.074, allocations: 319 kB / 1.202 GB, free: 7.945 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.146e-05/1.074, allocations: 37.64 kB / 1.202 GB, free: 7.902 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001073/1.074, allocations: 185.9 kB / 1.203 GB, free: 7.734 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.089e-05/1.074, allocations: 46.77 kB / 1.203 GB, free: 7.695 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.471e-05/1.074, allocations: 46.64 kB / 1.203 GB, free: 7.66 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001077/1.074, allocations: 336.6 kB / 1.203 GB, free: 7.328 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001759/1.074, allocations: 89.08 kB / 1.203 GB, free: 7.285 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002185/1.075, allocations: 148 kB / 1.203 GB, free: 7.18 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003624/1.075, allocations: 248.6 kB / 1.204 GB, free: 7.016 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/1.075, allocations: 6 kB / 1.204 GB, free: 7.012 MB / 0.9044 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005113/1.076, allocations: 276.8 kB / 1.204 GB, free: 6.867 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/1.076, allocations: 9.812 kB / 1.204 GB, free: 6.863 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/1.076, allocations: 2.719 kB / 1.204 GB, free: 6.863 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/1.076, allocations: 2.375 kB / 1.204 GB, free: 6.863 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000216/1.076, allocations: 47.69 kB / 1.204 GB, free: 6.848 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/1.076, allocations: 0 / 1.204 GB, free: 6.848 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001938/1.076, allocations: 40.64 kB / 1.204 GB, free: 6.82 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.079e-05/1.076, allocations: 7.188 kB / 1.204 GB, free: 6.82 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.0001373/1.076, allocations: 153.1 kB / 1.204 GB, free: 6.68 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.953e-05/1.076, allocations: 39.09 kB / 1.204 GB, free: 6.656 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006123/1.077, allocations: 302.8 kB / 1.204 GB, free: 6.484 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/1.077, allocations: 2.688 kB / 1.204 GB, free: 6.484 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/1.077, allocations: 3.875 kB / 1.204 GB, free: 6.484 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/1.077, allocations: 3.984 kB / 1.204 GB, free: 6.48 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001181/1.078, allocations: 0.808 MB / 1.205 GB, free: 5.832 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/1.078, allocations: 0 / 1.205 GB, free: 5.832 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001741/1.078, allocations: 43.81 kB / 1.205 GB, free: 5.816 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.908e-06/1.078, allocations: 2.75 kB / 1.205 GB, free: 5.816 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.123e-05/1.078, allocations: 8.625 kB / 1.205 GB, free: 5.812 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/1.078, allocations: 6.844 kB / 1.205 GB, free: 5.809 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/1.078, allocations: 0 / 1.205 GB, free: 5.809 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005494/1.079, allocations: 404.7 kB / 1.206 GB, free: 5.5 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001416/1.079, allocations: 128.5 kB / 1.206 GB, free: 5.375 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.709e-05/1.079, allocations: 10.56 kB / 1.206 GB, free: 5.367 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002283/1.079, allocations: 15.73 kB / 1.206 GB, free: 5.359 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.216e-05/1.079, allocations: 15.77 kB / 1.206 GB, free: 5.352 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.541e-05/1.079, allocations: 13.55 kB / 1.206 GB, free: 5.348 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001859/1.08, allocations: 226.5 kB / 1.206 GB, free: 5.203 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/1.08, allocations: 0 / 1.206 GB, free: 5.203 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004918/1.08, allocations: 124.8 kB / 1.206 GB, free: 5.172 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.0004819/1.081, allocations: 232.1 kB / 1.206 GB, free: 5.023 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004514/1.081, allocations: 222.4 kB / 1.207 GB, free: 4.922 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/1.081, allocations: 0 / 1.207 GB, free: 4.922 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002089/1.081, allocations: 123.5 kB / 1.207 GB, free: 4.863 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007498/1.082, allocations: 162 kB / 1.207 GB, free: 4.781 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009531/1.083, allocations: 0.5957 MB / 1.207 GB, free: 4.352 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003033/1.083, allocations: 0.783 MB / 1.208 GB, free: 3.605 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0002244/1.084, allocations: 90.95 kB / 1.208 GB, free: 3.562 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.148e-05/1.084, allocations: 30.92 kB / 1.208 GB, free: 3.555 MB / 0.9044 GB Notification: Performance of SimCode: time 2.31e-07/1.084, allocations: 0 / 1.208 GB, free: 3.555 MB / 0.9044 GB Notification: Performance of Templates: time 0.01206/1.096, allocations: 7.279 MB / 1.215 GB, free: 15.04 MB / 0.92 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 -s cvode -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