Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy.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.001593/0.001593, allocations: 118.7 kB / 17.13 MB, free: 5.758 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.001735/0.001735, allocations: 193.2 kB / 20.08 MB, free: 2.848 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.474/1.474, allocations: 225.6 MB / 248.5 MB, free: 3.645 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.517/2.517, allocations: 443.5 MB / 0.7293 GB, free: 14.52 MB / 0.5763 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.SpecificEntropy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senStr.port_a.m_flow|senStr.s|senFloSou.s",fileNamePrefix="Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senStr.port_a.m_flow|senStr.s|senFloSou.s",fileNamePrefix="Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 67.89 kB / 1.057 GB, free: 1.941 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3128/0.3147, allocations: 160.7 MB / 1.214 GB, free: 0.918 MB / 0.9513 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.9355/1.25, allocations: 163.8 MB / 1.374 GB, free: 13.99 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.006212/1.256, allocations: 4.601 MB / 1.378 GB, free: 10.73 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004742/1.257, allocations: 9.906 kB / 1.378 GB, free: 10.73 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0004704/1.257, allocations: 125.5 kB / 1.379 GB, free: 10.65 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001536/1.259, allocations: 0.5574 MB / 1.379 GB, free: 10.36 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002344/1.261, allocations: 0.7919 MB / 1.38 GB, free: 9.965 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001024/1.262, allocations: 0.5806 MB / 1.38 GB, free: 9.707 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003868/1.263, allocations: 178.8 kB / 1.381 GB, free: 9.633 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001165/1.264, allocations: 476.5 kB / 1.381 GB, free: 9.422 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006961/1.265, allocations: 309.2 kB / 1.381 GB, free: 9.301 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.106e-05/1.265, allocations: 22.22 kB / 1.381 GB, free: 9.297 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002303/1.267, allocations: 1.066 MB / 1.382 GB, free: 8.895 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001661/1.267, allocations: 98.12 kB / 1.383 GB, free: 8.852 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001851/1.267, allocations: 120.2 kB / 1.383 GB, free: 8.785 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001833/1.269, allocations: 0.7105 MB / 1.383 GB, free: 8.438 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/1.269, allocations: 0.7188 kB / 1.383 GB, free: 8.438 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.124e-06/1.269, allocations: 0 / 1.383 GB, free: 8.438 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.065e-06/1.269, allocations: 4.875 kB / 1.383 GB, free: 8.434 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.00109/1.27, allocations: 0.6057 MB / 1.384 GB, free: 7.879 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/1.27, allocations: 9.562 kB / 1.384 GB, free: 7.879 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000706/1.271, allocations: 84.3 kB / 1.384 GB, free: 7.836 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004637/1.271, allocations: 288.9 kB / 1.384 GB, free: 7.562 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.629e-05/1.271, allocations: 23.92 kB / 1.384 GB, free: 7.547 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.263e-05/1.271, allocations: 20.8 kB / 1.384 GB, free: 7.539 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005349/1.272, allocations: 280 kB / 1.385 GB, free: 7.336 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/1.272, allocations: 1.312 kB / 1.385 GB, free: 7.336 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.79e-05/1.272, allocations: 13.91 kB / 1.385 GB, free: 7.324 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/1.272, allocations: 9.125 kB / 1.385 GB, free: 7.32 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004786/1.273, allocations: 204.7 kB / 1.385 GB, free: 7.223 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001791/1.274, allocations: 1.242 MB / 1.386 GB, free: 6.094 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003421/1.275, allocations: 177 kB / 1.386 GB, free: 5.922 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00022/1.275, allocations: 112.3 kB / 1.386 GB, free: 5.84 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008284/1.276, allocations: 329.2 kB / 1.387 GB, free: 5.52 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.411e-05/1.276, allocations: 40.88 kB / 1.387 GB, free: 5.473 MB / 1.061 GB Notification: Performance of pre-optimization done (n=13): time 1.904e-06/1.276, allocations: 1.031 kB / 1.387 GB, free: 5.473 MB / 1.061 GB Notification: Performance of matching and sorting (n=13): time 0.0008681/1.277, allocations: 273.1 kB / 1.387 GB, free: 5.328 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/1.277, allocations: 164.5 kB / 1.387 GB, free: 5.133 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003633/1.277, allocations: 295.8 kB / 1.387 GB, free: 4.941 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.497e-05/1.277, allocations: 26.86 kB / 1.387 GB, free: 4.91 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001249/1.277, allocations: 141 kB / 1.388 GB, free: 4.781 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.376e-05/1.277, allocations: 57.45 kB / 1.388 GB, free: 4.73 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.73e-05/1.277, allocations: 41.61 kB / 1.388 GB, free: 4.699 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001565/1.278, allocations: 336.6 kB / 1.388 GB, free: 4.367 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001774/1.278, allocations: 72.84 kB / 1.388 GB, free: 4.332 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002522/1.278, allocations: 143.5 kB / 1.388 GB, free: 4.211 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000414/1.278, allocations: 211.1 kB / 1.388 GB, free: 4.059 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/1.278, allocations: 5.125 kB / 1.388 GB, free: 4.055 MB / 1.061 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005629/1.279, allocations: 238.6 kB / 1.389 GB, free: 3.926 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/1.279, allocations: 7.125 kB / 1.389 GB, free: 3.926 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/1.279, allocations: 1.625 kB / 1.389 GB, free: 3.926 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.188e-05/1.279, allocations: 7.688 kB / 1.389 GB, free: 3.922 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002033/1.279, allocations: 41.25 kB / 1.389 GB, free: 3.91 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/1.279, allocations: 6.125 kB / 1.389 GB, free: 3.906 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002245/1.279, allocations: 36.89 kB / 1.389 GB, free: 3.883 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.115e-05/1.279, allocations: 9.281 kB / 1.389 GB, free: 3.883 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (18): * Single equations (assignments): 18 * 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.0001615/1.28, allocations: 151.4 kB / 1.389 GB, free: 3.742 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001563/1.28, allocations: 27.34 kB / 1.389 GB, free: 3.727 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005194/1.28, allocations: 187 kB / 1.389 GB, free: 3.586 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/1.28, allocations: 2.375 kB / 1.389 GB, free: 3.586 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.836e-06/1.28, allocations: 13.14 kB / 1.389 GB, free: 3.578 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/1.28, allocations: 1.156 kB / 1.389 GB, free: 3.578 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001108/1.281, allocations: 0.8537 MB / 1.39 GB, free: 2.773 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/1.281, allocations: 9.344 kB / 1.39 GB, free: 2.766 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001321/1.282, allocations: 25.3 kB / 1.39 GB, free: 2.758 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.176e-06/1.282, allocations: 6.031 kB / 1.39 GB, free: 2.754 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/1.282, allocations: 2.406 kB / 1.39 GB, free: 2.754 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/1.282, allocations: 2.219 kB / 1.39 GB, free: 2.754 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/1.282, allocations: 2.312 kB / 1.39 GB, free: 2.754 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006206/1.282, allocations: 344.3 kB / 1.39 GB, free: 2.48 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001176/1.282, allocations: 108.1 kB / 1.39 GB, free: 2.367 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.388e-05/1.282, allocations: 6.156 kB / 1.39 GB, free: 2.363 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000172/1.283, allocations: 17.73 kB / 1.39 GB, free: 2.352 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.082e-05/1.283, allocations: 9.078 kB / 1.39 GB, free: 2.348 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.899e-06/1.283, allocations: 3.5 kB / 1.39 GB, free: 2.348 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002689/1.283, allocations: 232.9 kB / 1.391 GB, free: 2.195 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/1.283, allocations: 0 / 1.391 GB, free: 2.195 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0005627/1.283, allocations: 99.48 kB / 1.391 GB, free: 2.172 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.s) * 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 (10): * Single equations (assignments): 10 * 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.0006271/1.284, allocations: 224.6 kB / 1.391 GB, free: 2.027 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004507/1.285, allocations: 142 kB / 1.391 GB, free: 1.969 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/1.285, allocations: 8.125 kB / 1.391 GB, free: 1.961 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001574/1.285, allocations: 60.08 kB / 1.391 GB, free: 1.934 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000787/1.285, allocations: 148.4 kB / 1.391 GB, free: 1.859 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009752/1.286, allocations: 0.5229 MB / 1.392 GB, free: 1.445 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004226/1.287, allocations: 0.7628 MB / 1.393 GB, free: 0.707 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.639e-05/1.287, allocations: 28.16 kB / 1.393 GB, free: 0.6953 MB / 1.061 GB Notification: Performance of SimCode: time 4.61e-07/1.287, allocations: 1.562 kB / 1.393 GB, free: 0.6953 MB / 1.061 GB Notification: Performance of Templates: time 0.009637/1.297, allocations: 5.263 MB / 1.398 GB, free: 13.98 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & ./Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_SpecificEntropy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy.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: 12.78748934599571]