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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00137/0.00137, allocations: 110.5 kB / 17.6 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001901/0.001901, allocations: 186.8 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.493/1.493, allocations: 225.6 MB / 249.4 MB, free: 3.324 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.724/2.724, allocations: 443.4 MB / 0.7304 GB, free: 13.93 MB / 0.5762 GB " [Timeout remaining time 177] 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=2500,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=2500,variableFilter="time|senM_flow.m_flow|senS_flow.S_flow|senS.s",fileNamePrefix="Buildings_10_Buildings.Fluid.Sensors.Examples.EntropyFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002367/0.002367, allocations: 71.88 kB / 1.059 GB, free: 392 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3731/0.3754, allocations: 160.7 MB / 1.216 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.9683/1.344, allocations: 170.2 MB / 1.382 GB, free: 8.355 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01345/1.357, allocations: 7.203 MB / 1.389 GB, free: 3.211 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009665/1.358, allocations: 12.12 kB / 1.389 GB, free: 3.207 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0009874/1.359, allocations: 174.3 kB / 1.39 GB, free: 3.055 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.005569/1.365, allocations: 1.312 MB / 1.391 GB, free: 2.082 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002649/1.367, allocations: 0.637 MB / 1.391 GB, free: 1.617 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001721/1.369, allocations: 0.7676 MB / 1.392 GB, free: 1.176 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007546/1.37, allocations: 234.5 kB / 1.392 GB, free: 1.023 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002002/1.372, allocations: 0.5937 MB / 1.393 GB, free: 0.6523 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001485/1.373, allocations: 448.9 kB / 1.393 GB, free: 400 kB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001499/1.373, allocations: 25.78 kB / 1.393 GB, free: 400 kB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003821/1.377, allocations: 1.334 MB / 1.395 GB, free: 15.62 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002936/1.378, allocations: 115.9 kB / 1.395 GB, free: 15.54 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0005015/1.378, allocations: 174.8 kB / 1.395 GB, free: 15.43 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002952/1.381, allocations: 0.9035 MB / 1.396 GB, free: 14.88 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/1.381, allocations: 5.406 kB / 1.396 GB, free: 14.88 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.483e-06/1.381, allocations: 4 kB / 1.396 GB, free: 14.88 MB / 1.076 GB Notification: Performance of Transformations before backend: time 2.136e-05/1.381, allocations: 0 / 1.396 GB, free: 14.88 MB / 1.076 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.001871/1.383, allocations: 0.7077 MB / 1.397 GB, free: 14.25 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.288e-05/1.383, allocations: 8.938 kB / 1.397 GB, free: 14.25 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001347/1.384, allocations: 126.5 kB / 1.397 GB, free: 14.2 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009356/1.385, allocations: 348.4 kB / 1.397 GB, free: 13.87 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001093/1.385, allocations: 55.44 kB / 1.397 GB, free: 13.83 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.305e-05/1.385, allocations: 25.69 kB / 1.397 GB, free: 13.82 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008899/1.386, allocations: 370 kB / 1.398 GB, free: 13.58 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.993e-05/1.386, allocations: 4.953 kB / 1.398 GB, free: 13.57 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.04e-05/1.386, allocations: 10.22 kB / 1.398 GB, free: 13.57 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.197e-05/1.386, allocations: 7.562 kB / 1.398 GB, free: 13.57 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000659/1.387, allocations: 271.6 kB / 1.398 GB, free: 13.44 MB / 1.076 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.002555/1.39, allocations: 1.486 MB / 1.399 GB, free: 12.09 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000475/1.39, allocations: 197.2 kB / 1.399 GB, free: 11.97 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002356/1.39, allocations: 109.4 kB / 1.4 GB, free: 11.92 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001167/1.392, allocations: 0.5076 MB / 1.4 GB, free: 11.39 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.817e-05/1.392, allocations: 32.03 kB / 1.4 GB, free: 11.36 MB / 1.076 GB Notification: Performance of pre-optimization done (n=15): time 2.144e-06/1.392, allocations: 4 kB / 1.4 GB, free: 11.35 MB / 1.076 GB Notification: Performance of matching and sorting (n=15): time 0.00112/1.393, allocations: 365.6 kB / 1.4 GB, free: 11.16 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.833e-05/1.393, allocations: 52.88 kB / 1.4 GB, free: 11.1 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004364/1.393, allocations: 313.6 kB / 1.401 GB, free: 10.89 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.281e-05/1.393, allocations: 29.7 kB / 1.401 GB, free: 10.86 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002333/1.393, allocations: 189.7 kB / 1.401 GB, free: 10.69 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 8.429e-05/1.394, allocations: 50.38 kB / 1.401 GB, free: 10.64 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001456/1.394, allocations: 47.44 kB / 1.401 GB, free: 10.61 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0002419/1.394, allocations: 338.5 kB / 1.401 GB, free: 10.28 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002295/1.394, allocations: 84.14 kB / 1.401 GB, free: 10.24 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002841/1.394, allocations: 149.3 kB / 1.402 GB, free: 10.13 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004743/1.395, allocations: 246.9 kB / 1.402 GB, free: 9.965 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/1.395, allocations: 3.938 kB / 1.402 GB, free: 9.961 MB / 1.076 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007075/1.396, allocations: 280 kB / 1.402 GB, free: 9.812 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.413e-05/1.396, allocations: 5.406 kB / 1.402 GB, free: 9.812 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/1.396, allocations: 2.875 kB / 1.402 GB, free: 9.812 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.405e-05/1.396, allocations: 6.688 kB / 1.402 GB, free: 9.809 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002505/1.396, allocations: 43.31 kB / 1.402 GB, free: 9.797 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/1.396, allocations: 1.969 kB / 1.402 GB, free: 9.797 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003009/1.396, allocations: 33.86 kB / 1.402 GB, free: 9.773 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.694e-05/1.396, allocations: 13.09 kB / 1.402 GB, free: 9.77 MB / 1.076 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.0002165/1.397, allocations: 152.6 kB / 1.402 GB, free: 9.629 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001408/1.397, allocations: 29.59 kB / 1.402 GB, free: 9.613 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007839/1.397, allocations: 310.9 kB / 1.403 GB, free: 9.434 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/1.397, allocations: 1.375 kB / 1.403 GB, free: 9.434 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-05/1.397, allocations: 9.078 kB / 1.403 GB, free: 9.43 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.216e-06/1.397, allocations: 4.031 kB / 1.403 GB, free: 9.426 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001572/1.399, allocations: 0.815 MB / 1.404 GB, free: 8.77 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/1.399, allocations: 1.438 kB / 1.404 GB, free: 8.77 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001893/1.399, allocations: 33.86 kB / 1.404 GB, free: 8.762 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.241e-06/1.399, allocations: 6.969 kB / 1.404 GB, free: 8.758 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.406e-05/1.399, allocations: 12.06 kB / 1.404 GB, free: 8.75 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.603e-06/1.399, allocations: 10.67 kB / 1.404 GB, free: 8.742 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/1.399, allocations: 2.75 kB / 1.404 GB, free: 8.742 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006846/1.4, allocations: 399.9 kB / 1.404 GB, free: 8.438 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002063/1.4, allocations: 132.1 kB / 1.404 GB, free: 8.309 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.174e-05/1.4, allocations: 6.688 kB / 1.404 GB, free: 8.305 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002601/1.4, allocations: 16.23 kB / 1.404 GB, free: 8.297 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.176e-05/1.401, allocations: 24.22 kB / 1.404 GB, free: 8.281 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.706e-05/1.401, allocations: 11.94 kB / 1.404 GB, free: 8.277 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.000294/1.401, allocations: 226.8 kB / 1.404 GB, free: 8.133 MB / 1.076 GB Notification: Performance of sort global known variables: time 9.1e-08/1.401, allocations: 0 / 1.404 GB, free: 8.133 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0007544/1.402, allocations: 120.7 kB / 1.404 GB, free: 8.105 MB / 1.076 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.0008501/1.403, allocations: 231.7 kB / 1.405 GB, free: 7.953 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0006245/1.403, allocations: 222.4 kB / 1.405 GB, free: 7.852 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/1.403, allocations: 1.125 kB / 1.405 GB, free: 7.852 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002508/1.403, allocations: 113.6 kB / 1.405 GB, free: 7.801 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009545/1.404, allocations: 159.8 kB / 1.405 GB, free: 7.715 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001499/1.406, allocations: 0.6148 MB / 1.406 GB, free: 7.281 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004884/1.406, allocations: 0.7877 MB / 1.407 GB, free: 6.535 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0003113/1.407, allocations: 83.19 kB / 1.407 GB, free: 6.5 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001026/1.407, allocations: 26.44 kB / 1.407 GB, free: 6.496 MB / 1.076 GB Notification: Performance of SimCode: time 9.32e-07/1.407, allocations: 0 / 1.407 GB, free: 6.496 MB / 1.076 GB Notification: Performance of Templates: time 0.01681/1.424, allocations: 7.41 MB / 1.414 GB, free: 2.797 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) [Timeout 400] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.844675683416426]