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) 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.1-maint.10.0.x/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|senStr.port_a.m_flow|senStr.s|senFloSou.s",fileNamePrefix="Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006868/0.006868, allocations: 97.95 kB / 15.73 MB, free: 6.062 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.00164/0.001641, allocations: 192.6 kB / 16.67 MB, free: 5.969 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.426/1.426, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.626/2.626, allocations: 437 MB / 0.7105 GB, free: 4.934 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 67.89 kB / 1.019 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3204/0.3216, allocations: 151.6 MB / 1.167 GB, free: 6.785 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.9523/1.274, allocations: 163.2 MB / 1.326 GB, free: 6.422 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.006284/1.28, allocations: 4.578 MB / 1.33 GB, free: 3.172 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005561/1.281, allocations: 14.28 kB / 1.331 GB, free: 3.164 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0005148/1.281, allocations: 121.9 kB / 1.331 GB, free: 3.082 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001481/1.283, allocations: 0.5397 MB / 1.331 GB, free: 2.797 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002318/1.285, allocations: 0.7664 MB / 1.332 GB, free: 2.422 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0009689/1.286, allocations: 0.5835 MB / 1.332 GB, free: 2.16 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004043/1.287, allocations: 209.5 kB / 1.333 GB, free: 2.074 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001118/1.288, allocations: 467.2 kB / 1.333 GB, free: 1.867 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006523/1.289, allocations: 290.7 kB / 1.333 GB, free: 1.75 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 4.276e-05/1.289, allocations: 18.38 kB / 1.333 GB, free: 1.75 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001907/1.29, allocations: 1.003 MB / 1.334 GB, free: 1.359 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001257/1.291, allocations: 89.8 kB / 1.334 GB, free: 1.324 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001465/1.291, allocations: 126.3 kB / 1.335 GB, free: 1.254 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001359/1.292, allocations: 0.716 MB / 1.335 GB, free: 1.02 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/1.292, allocations: 0 / 1.335 GB, free: 1.02 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.643e-06/1.292, allocations: 0 / 1.335 GB, free: 1.02 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.086e-05/1.292, allocations: 1.125 kB / 1.335 GB, free: 1.02 MB / 1.014 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.001022/1.293, allocations: 0.6045 MB / 1.336 GB, free: 0.5 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/1.293, allocations: 9.344 kB / 1.336 GB, free: 0.5 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006701/1.294, allocations: 89.36 kB / 1.336 GB, free: 480 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004167/1.294, allocations: 290.6 kB / 1.336 GB, free: 228 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.444e-05/1.294, allocations: 24.14 kB / 1.336 GB, free: 212 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.876e-05/1.294, allocations: 16.5 kB / 1.336 GB, free: 208 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005184/1.295, allocations: 283.1 kB / 1.337 GB, free: 48 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/1.295, allocations: 0 / 1.337 GB, free: 48 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.669e-05/1.295, allocations: 14.19 kB / 1.337 GB, free: 36 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.333e-05/1.295, allocations: 13.53 kB / 1.337 GB, free: 28 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004443/1.296, allocations: 200.4 kB / 1.337 GB, free: 15.96 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001547/1.297, allocations: 1.251 MB / 1.338 GB, free: 14.96 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002948/1.297, allocations: 178.6 kB / 1.338 GB, free: 14.81 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002025/1.298, allocations: 112.9 kB / 1.338 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007269/1.298, allocations: 328.8 kB / 1.339 GB, free: 14.46 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.315e-05/1.298, allocations: 42.91 kB / 1.339 GB, free: 14.41 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.793e-06/1.298, allocations: 0 / 1.339 GB, free: 14.41 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.000782/1.299, allocations: 279.5 kB / 1.339 GB, free: 14.31 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.062e-05/1.299, allocations: 161.2 kB / 1.339 GB, free: 14.12 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003035/1.3, allocations: 288.6 kB / 1.339 GB, free: 13.96 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.556e-05/1.3, allocations: 27.05 kB / 1.339 GB, free: 13.93 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001258/1.3, allocations: 148.9 kB / 1.34 GB, free: 13.8 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.583e-05/1.3, allocations: 46.16 kB / 1.34 GB, free: 13.77 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.629e-05/1.3, allocations: 41.78 kB / 1.34 GB, free: 13.74 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001451/1.3, allocations: 340.2 kB / 1.34 GB, free: 13.41 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001697/1.3, allocations: 72 kB / 1.34 GB, free: 13.39 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002363/1.3, allocations: 141.2 kB / 1.34 GB, free: 13.29 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000387/1.301, allocations: 219.2 kB / 1.34 GB, free: 13.16 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/1.301, allocations: 1.25 kB / 1.34 GB, free: 13.16 MB / 1.029 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005128/1.301, allocations: 240.5 kB / 1.341 GB, free: 13.06 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/1.301, allocations: 8.094 kB / 1.341 GB, free: 13.06 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/1.301, allocations: 2.406 kB / 1.341 GB, free: 13.06 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/1.301, allocations: 6.938 kB / 1.341 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001866/1.302, allocations: 39.7 kB / 1.341 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.186e-05/1.302, allocations: 7.656 kB / 1.341 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000203/1.302, allocations: 35.12 kB / 1.341 GB, free: 13.03 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.318e-05/1.302, allocations: 13.06 kB / 1.341 GB, free: 13.02 MB / 1.029 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.0001503/1.302, allocations: 147.6 kB / 1.341 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001473/1.302, allocations: 26.09 kB / 1.341 GB, free: 12.88 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004779/1.303, allocations: 189.7 kB / 1.341 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/1.303, allocations: 4.922 kB / 1.341 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/1.303, allocations: 5.219 kB / 1.341 GB, free: 12.76 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/1.303, allocations: 1.312 kB / 1.341 GB, free: 12.76 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001019/1.304, allocations: 0.8552 MB / 1.342 GB, free: 12.03 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/1.304, allocations: 7.656 kB / 1.342 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001213/1.304, allocations: 22.47 kB / 1.342 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.704e-06/1.304, allocations: 6.094 kB / 1.342 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.799e-05/1.304, allocations: 3.984 kB / 1.342 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.821e-06/1.304, allocations: 6.375 kB / 1.342 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/1.304, allocations: 1.156 kB / 1.342 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000598/1.305, allocations: 342.6 kB / 1.342 GB, free: 11.78 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001024/1.305, allocations: 108 kB / 1.342 GB, free: 11.67 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.272e-05/1.305, allocations: 6.562 kB / 1.342 GB, free: 11.66 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001558/1.305, allocations: 15.45 kB / 1.342 GB, free: 11.66 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.936e-05/1.305, allocations: 7 kB / 1.342 GB, free: 11.66 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.206e-05/1.305, allocations: 6.328 kB / 1.342 GB, free: 11.66 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003002/1.305, allocations: 235.8 kB / 1.343 GB, free: 11.53 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.21e-07/1.305, allocations: 1.656 kB / 1.343 GB, free: 11.53 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0005909/1.306, allocations: 100.9 kB / 1.343 GB, free: 11.5 MB / 1.029 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.0006118/1.307, allocations: 226.7 kB / 1.343 GB, free: 11.38 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004314/1.307, allocations: 150.1 kB / 1.343 GB, free: 11.34 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/1.307, allocations: 4.969 kB / 1.343 GB, free: 11.33 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001551/1.307, allocations: 58.17 kB / 1.343 GB, free: 11.32 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007835/1.308, allocations: 136.3 kB / 1.343 GB, free: 11.28 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008991/1.309, allocations: 0.4996 MB / 1.344 GB, free: 10.93 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004155/1.309, allocations: 0.7626 MB / 1.344 GB, free: 10.22 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002004/1.309, allocations: 64.22 kB / 1.345 GB, free: 10.2 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.833e-05/1.31, allocations: 21.88 kB / 1.345 GB, free: 10.2 MB / 1.029 GB Notification: Performance of SimCode: time 2.31e-07/1.31, allocations: 0 / 1.345 GB, free: 10.2 MB / 1.029 GB Notification: Performance of Templates: time 0.01273/1.322, allocations: 5.84 MB / 1.35 GB, free: 9.469 MB / 1.029 GB make -j1 -f Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches