Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.SpecificEntropy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senStr.port_a.m_flow|senStr.s|senFloSou.s",fileNamePrefix="Buildings_latest_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_latest_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.00898/0.00898, allocations: 103 kB / 15.73 MB, free: 6.035 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.002086/0.002086, allocations: 190 kB / 16.67 MB, free: 5.965 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.387/1.387, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.729/2.729, allocations: 461.9 MB / 0.7348 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 67.89 kB / 1.054 GB, free: 7.117 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3505/0.3517, allocations: 157.4 MB / 1.208 GB, free: 9.609 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.8845/1.236, allocations: 163.2 MB / 1.367 GB, free: 3.938 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00594/1.242, allocations: 4.587 MB / 1.372 GB, free: 0.6836 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000486/1.243, allocations: 10.53 kB / 1.372 GB, free: 0.6797 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.000478/1.243, allocations: 118.9 kB / 1.372 GB, free: 0.5977 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001506/1.245, allocations: 0.5382 MB / 1.372 GB, free: 324 kB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.00203/1.247, allocations: 0.7722 MB / 1.373 GB, free: 15.93 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0008255/1.248, allocations: 0.5742 MB / 1.374 GB, free: 15.68 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003986/1.248, allocations: 215.9 kB / 1.374 GB, free: 15.59 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00115/1.249, allocations: 469.7 kB / 1.374 GB, free: 15.39 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006457/1.25, allocations: 292.3 kB / 1.375 GB, free: 15.27 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 5.572e-05/1.25, allocations: 18.38 kB / 1.375 GB, free: 15.27 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002277/1.252, allocations: 0.999 MB / 1.376 GB, free: 14.88 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001511/1.252, allocations: 89.3 kB / 1.376 GB, free: 14.82 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001955/1.253, allocations: 125.7 kB / 1.376 GB, free: 14.74 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001845/1.254, allocations: 0.7189 MB / 1.376 GB, free: 14.31 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/1.255, allocations: 1.094 kB / 1.376 GB, free: 14.31 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.285e-06/1.255, allocations: 0 / 1.376 GB, free: 14.31 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.334e-05/1.255, allocations: 4 kB / 1.376 GB, free: 14.3 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.001087/1.256, allocations: 0.585 MB / 1.377 GB, free: 13.77 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/1.256, allocations: 10.03 kB / 1.377 GB, free: 13.77 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006925/1.256, allocations: 78.66 kB / 1.377 GB, free: 13.73 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005315/1.257, allocations: 304.6 kB / 1.377 GB, free: 13.45 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.75e-05/1.257, allocations: 16.44 kB / 1.377 GB, free: 13.44 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.058e-05/1.257, allocations: 25.09 kB / 1.377 GB, free: 13.43 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005868/1.258, allocations: 279 kB / 1.378 GB, free: 13.22 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/1.258, allocations: 5.125 kB / 1.378 GB, free: 13.22 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.679e-05/1.258, allocations: 6.344 kB / 1.378 GB, free: 13.21 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.214e-05/1.258, allocations: 8.531 kB / 1.378 GB, free: 13.21 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005053/1.258, allocations: 201.6 kB / 1.378 GB, free: 13.12 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001774/1.26, allocations: 1.245 MB / 1.379 GB, free: 11.98 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003038/1.26, allocations: 176 kB / 1.379 GB, free: 11.82 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002109/1.261, allocations: 114.6 kB / 1.379 GB, free: 11.73 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007659/1.261, allocations: 332.6 kB / 1.38 GB, free: 11.41 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.231e-05/1.261, allocations: 37.06 kB / 1.38 GB, free: 11.37 MB / 1.076 GB Notification: Performance of pre-optimization done (n=13): time 1.603e-06/1.261, allocations: 1.344 kB / 1.38 GB, free: 11.37 MB / 1.076 GB Notification: Performance of matching and sorting (n=13): time 0.0008381/1.262, allocations: 281.4 kB / 1.38 GB, free: 11.21 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.936e-05/1.262, allocations: 156.3 kB / 1.38 GB, free: 11.03 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003171/1.263, allocations: 284.1 kB / 1.38 GB, free: 10.84 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.496e-05/1.263, allocations: 30.86 kB / 1.38 GB, free: 10.8 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001092/1.263, allocations: 151.8 kB / 1.381 GB, free: 10.66 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 5.008e-05/1.263, allocations: 44.48 kB / 1.381 GB, free: 10.62 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.562e-05/1.263, allocations: 50.83 kB / 1.381 GB, free: 10.59 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001415/1.263, allocations: 337.2 kB / 1.381 GB, free: 10.25 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000178/1.263, allocations: 67 kB / 1.381 GB, free: 10.22 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002577/1.264, allocations: 149.8 kB / 1.381 GB, free: 10.1 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003992/1.264, allocations: 210.1 kB / 1.381 GB, free: 9.945 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/1.264, allocations: 1.062 kB / 1.381 GB, free: 9.945 MB / 1.076 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005381/1.264, allocations: 239.7 kB / 1.382 GB, free: 9.816 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/1.265, allocations: 9.75 kB / 1.382 GB, free: 9.812 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/1.265, allocations: 1.469 kB / 1.382 GB, free: 9.812 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/1.265, allocations: 4.031 kB / 1.382 GB, free: 9.812 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001921/1.265, allocations: 40.2 kB / 1.382 GB, free: 9.801 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/1.265, allocations: 7.312 kB / 1.382 GB, free: 9.797 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000209/1.265, allocations: 31.17 kB / 1.382 GB, free: 9.777 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.107e-05/1.265, allocations: 8.375 kB / 1.382 GB, free: 9.777 MB / 1.076 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.0001476/1.265, allocations: 168.3 kB / 1.382 GB, free: 9.621 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000158/1.265, allocations: 23.88 kB / 1.382 GB, free: 9.609 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004913/1.266, allocations: 190.5 kB / 1.382 GB, free: 9.461 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/1.266, allocations: 2.469 kB / 1.382 GB, free: 9.461 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/1.266, allocations: 1.156 kB / 1.382 GB, free: 9.461 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/1.266, allocations: 1.625 kB / 1.382 GB, free: 9.461 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001052/1.267, allocations: 0.8582 MB / 1.383 GB, free: 8.652 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/1.267, allocations: 1.062 kB / 1.383 GB, free: 8.652 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001326/1.267, allocations: 25.36 kB / 1.383 GB, free: 8.645 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.666e-06/1.267, allocations: 6.094 kB / 1.383 GB, free: 8.641 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.586e-05/1.267, allocations: 2.219 kB / 1.383 GB, free: 8.641 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.508e-06/1.267, allocations: 7.656 kB / 1.383 GB, free: 8.637 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/1.267, allocations: 1.188 kB / 1.383 GB, free: 8.637 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006002/1.268, allocations: 333.4 kB / 1.383 GB, free: 8.375 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001234/1.268, allocations: 120.2 kB / 1.383 GB, free: 8.25 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.273e-05/1.268, allocations: 6.375 kB / 1.383 GB, free: 8.246 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001624/1.268, allocations: 8.328 kB / 1.383 GB, free: 8.242 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.025e-05/1.268, allocations: 13.14 kB / 1.383 GB, free: 8.234 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.558e-06/1.268, allocations: 4.344 kB / 1.383 GB, free: 8.234 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002366/1.268, allocations: 233.2 kB / 1.384 GB, free: 8.09 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.71e-07/1.268, allocations: 5.031 kB / 1.384 GB, free: 8.086 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0005096/1.269, allocations: 95.64 kB / 1.384 GB, free: 8.066 MB / 1.076 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.000567/1.269, allocations: 229.8 kB / 1.384 GB, free: 7.914 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0004316/1.27, allocations: 159 kB / 1.384 GB, free: 7.844 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/1.27, allocations: 0 / 1.384 GB, free: 7.844 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001523/1.27, allocations: 57.22 kB / 1.384 GB, free: 7.82 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008193/1.271, allocations: 135.3 kB / 1.384 GB, free: 7.754 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000835/1.272, allocations: 0.4958 MB / 1.385 GB, free: 7.375 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000319/1.272, allocations: 0.759 MB / 1.386 GB, free: 6.641 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002063/1.272, allocations: 58.67 kB / 1.386 GB, free: 6.621 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.962e-05/1.272, allocations: 26.45 kB / 1.386 GB, free: 6.613 MB / 1.076 GB Notification: Performance of SimCode: time 2.4e-07/1.272, allocations: 0 / 1.386 GB, free: 6.613 MB / 1.076 GB Notification: Performance of Templates: time 0.01173/1.284, allocations: 5.915 MB / 1.391 GB, free: 3.633 MB / 1.076 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.makefile (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_SpecificEntropy.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches