Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001745/0.001745, allocations: 114.7 kB / 17.6 MB, free: 4.699 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.001725/0.001725, allocations: 186 kB / 20.78 MB, free: 1.539 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.481/1.481, allocations: 225.6 MB / 249.4 MB, free: 3.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.873/2.873, allocations: 476.7 MB / 0.7629 GB, free: 15.11 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00199/0.00199, allocations: 71.89 kB / 1.107 GB, free: 5.043 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9925/0.9945, allocations: 168.7 MB / 1.272 GB, free: 7.672 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.2085/1.203, allocations: 163.9 MB / 1.432 GB, free: 13.42 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.00745/1.21, allocations: 4.619 MB / 1.436 GB, free: 9.707 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005357/1.211, allocations: 9.594 kB / 1.436 GB, free: 9.703 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0006401/1.212, allocations: 125.8 kB / 1.436 GB, free: 9.594 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.002029/1.214, allocations: 0.5612 MB / 1.437 GB, free: 9.172 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002434/1.216, allocations: 0.7897 MB / 1.438 GB, free: 8.594 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001062/1.217, allocations: 0.5813 MB / 1.438 GB, free: 8.258 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000466/1.218, allocations: 169.2 kB / 1.438 GB, free: 8.148 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001288/1.219, allocations: 478.8 kB / 1.439 GB, free: 7.852 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007698/1.22, allocations: 306.5 kB / 1.439 GB, free: 7.672 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 5.806e-05/1.22, allocations: 17.88 kB / 1.439 GB, free: 7.672 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002493/1.222, allocations: 1.075 MB / 1.44 GB, free: 7.051 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0001865/1.222, allocations: 97.95 kB / 1.44 GB, free: 6.984 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0002593/1.223, allocations: 122.2 kB / 1.44 GB, free: 6.91 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.00186/1.225, allocations: 0.7131 MB / 1.441 GB, free: 6.48 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/1.225, allocations: 4 kB / 1.441 GB, free: 6.477 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.673e-06/1.225, allocations: 0 / 1.441 GB, free: 6.477 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.396e-05/1.225, allocations: 0 / 1.441 GB, free: 6.477 MB / 1.123 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.00127/1.226, allocations: 0.5994 MB / 1.442 GB, free: 5.93 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/1.226, allocations: 8.688 kB / 1.442 GB, free: 5.93 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.657e-05/1.226, allocations: 53.02 kB / 1.442 GB, free: 5.875 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007454/1.227, allocations: 79.34 kB / 1.442 GB, free: 5.836 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005195/1.227, allocations: 302.3 kB / 1.442 GB, free: 5.551 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.291e-05/1.227, allocations: 12 kB / 1.442 GB, free: 5.547 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.534e-05/1.227, allocations: 20.12 kB / 1.442 GB, free: 5.539 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005589/1.228, allocations: 292 kB / 1.442 GB, free: 5.324 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.63e-05/1.228, allocations: 1.094 kB / 1.442 GB, free: 5.324 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.574e-05/1.228, allocations: 9.844 kB / 1.442 GB, free: 5.316 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.337e-06/1.228, allocations: 5.281 kB / 1.442 GB, free: 5.316 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004674/1.228, allocations: 208.5 kB / 1.443 GB, free: 5.215 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001833/1.23, allocations: 1.25 MB / 1.444 GB, free: 4.078 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003217/1.231, allocations: 171.7 kB / 1.444 GB, free: 3.867 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002131/1.231, allocations: 112.2 kB / 1.444 GB, free: 3.742 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007801/1.231, allocations: 331.2 kB / 1.444 GB, free: 3.363 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.989e-05/1.232, allocations: 46.67 kB / 1.444 GB, free: 3.309 MB / 1.123 GB Notification: Performance of pre-optimization done (n=13): time 1.703e-06/1.232, allocations: 0 / 1.444 GB, free: 3.309 MB / 1.123 GB Notification: Performance of matching and sorting (n=13): time 0.0008491/1.232, allocations: 281.2 kB / 1.445 GB, free: 3.027 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001049/1.233, allocations: 158.2 kB / 1.445 GB, free: 2.836 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003508/1.233, allocations: 279 kB / 1.445 GB, free: 2.555 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 3.543e-05/1.233, allocations: 34.2 kB / 1.445 GB, free: 2.516 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001344/1.233, allocations: 148 kB / 1.445 GB, free: 2.367 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 5.168e-05/1.233, allocations: 47.58 kB / 1.445 GB, free: 2.32 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.865e-05/1.233, allocations: 41.7 kB / 1.445 GB, free: 2.273 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.000173/1.233, allocations: 342.8 kB / 1.446 GB, free: 1.93 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002095/1.234, allocations: 75.84 kB / 1.446 GB, free: 1.855 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002719/1.234, allocations: 151.6 kB / 1.446 GB, free: 1.68 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004199/1.234, allocations: 207.5 kB / 1.446 GB, free: 1.449 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.872e-06/1.234, allocations: 4 kB / 1.446 GB, free: 1.445 MB / 1.123 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006673/1.235, allocations: 245.2 kB / 1.446 GB, free: 1.199 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.533e-05/1.235, allocations: 8 kB / 1.446 GB, free: 1.191 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.667e-06/1.235, allocations: 0 / 1.446 GB, free: 1.191 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.22e-05/1.235, allocations: 8 kB / 1.446 GB, free: 1.184 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000197/1.235, allocations: 35.97 kB / 1.446 GB, free: 1.148 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.376e-05/1.235, allocations: 7.938 kB / 1.446 GB, free: 1.141 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002273/1.235, allocations: 39.95 kB / 1.446 GB, free: 1.102 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.772e-05/1.235, allocations: 16 kB / 1.446 GB, free: 1.086 MB / 1.123 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.0001698/1.236, allocations: 137.8 kB / 1.447 GB, free: 0.9414 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001632/1.236, allocations: 27.81 kB / 1.447 GB, free: 0.9141 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005019/1.236, allocations: 194.2 kB / 1.447 GB, free: 0.707 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/1.236, allocations: 0 / 1.447 GB, free: 0.707 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.315e-06/1.236, allocations: 4 kB / 1.447 GB, free: 0.7031 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.535e-06/1.236, allocations: 3.938 kB / 1.447 GB, free: 0.6992 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001131/1.237, allocations: 0.8549 MB / 1.448 GB, free: 15.77 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/1.237, allocations: 4 kB / 1.448 GB, free: 15.77 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001237/1.238, allocations: 27.86 kB / 1.448 GB, free: 15.74 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/1.238, allocations: 4 kB / 1.448 GB, free: 15.73 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/1.238, allocations: 0 / 1.448 GB, free: 15.73 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.871e-06/1.238, allocations: 12.14 kB / 1.448 GB, free: 15.72 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/1.238, allocations: 3.938 kB / 1.448 GB, free: 15.72 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006044/1.238, allocations: 335.6 kB / 1.448 GB, free: 15.36 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001181/1.238, allocations: 112.9 kB / 1.448 GB, free: 15.23 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.537e-05/1.238, allocations: 8.125 kB / 1.448 GB, free: 15.22 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000162/1.239, allocations: 8 kB / 1.448 GB, free: 15.21 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.944e-05/1.239, allocations: 7.984 kB / 1.448 GB, free: 15.21 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.798e-06/1.239, allocations: 8 kB / 1.448 GB, free: 15.2 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.000262/1.239, allocations: 238 kB / 1.448 GB, free: 14.97 MB / 1.139 GB Notification: Performance of sort global known variables: time 7e-08/1.239, allocations: 0 / 1.448 GB, free: 14.97 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0005403/1.239, allocations: 103.8 kB / 1.448 GB, free: 14.87 MB / 1.139 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.0014/1.241, allocations: 0.9952 MB / 1.449 GB, free: 13.84 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.00045/1.241, allocations: 147.8 kB / 1.45 GB, free: 13.7 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/1.241, allocations: 4 kB / 1.45 GB, free: 13.69 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.000192/1.241, allocations: 64.64 kB / 1.45 GB, free: 13.63 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007972/1.242, allocations: 135.8 kB / 1.45 GB, free: 13.5 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004102/1.246, allocations: 2.775 MB / 1.452 GB, free: 10.57 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004311/1.247, allocations: 0.7558 MB / 1.453 GB, free: 9.785 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0002666/1.247, allocations: 62.88 kB / 1.453 GB, free: 9.719 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001395/1.247, allocations: 75.41 kB / 1.453 GB, free: 9.648 MB / 1.139 GB Notification: Performance of SimCode: time 1.212e-06/1.247, allocations: 4 kB / 1.453 GB, free: 9.645 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03599/1.283, allocations: 8.647 MB / 1.462 GB, free: 1.152 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.619/9.902, allocations: 10.62 kB / 1.462 GB, free: 1.145 MB / 1.139 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sensors_Examples_SpecificEntropy_fmu --startTime=0 --stopTime=60 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sensors_Examples_SpecificEntropy.fmu > Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_SpecificEntropy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,senStr.port_a.m_flow,senStr.s,senFloSou.s Variables in the result:der(senStr.s),ramp.duration,ramp.height,ramp.offset,ramp.startTime,ramp.y,senFloSou.port.Xi_outflow[1],senFloSou.port.h_outflow,senFloSou.port.m_flow,senFloSou.port.p,senFloSou.s,senFloSou.warnAboutOnePortConnection,senStr.allowFlowReversal,senStr.initType,senStr.m_flow_nominal,senStr.m_flow_small,senStr.port_a.Xi_outflow[1],senStr.port_a.h_outflow,senStr.port_a.m_flow,senStr.port_a.p,senStr.port_b.Xi_outflow[1],senStr.port_b.h_outflow,senStr.port_b.m_flow,senStr.port_b.p,senStr.s,senStr.s_start,senStr.tau,sin.X[1],sin.X[2],sin.h,sin.nPorts,sin.p,sin.ports[1].Xi_outflow[1],sin.ports[1].h_outflow,sin.ports[1].m_flow,sin.ports[1].p,sin.use_C_in,sin.use_X_in,sin.use_Xi_in,sin.use_h_in,sin.use_p_in,sin.verifyInputs,sou.X[1],sou.X[2],sou.h,sou.m_flow,sou.m_flow_in,sou.nPorts,sou.ports[1].Xi_outflow[1],sou.ports[1].h_outflow,sou.ports[1].m_flow,sou.ports[1].p,sou.ports[2].Xi_outflow[1],sou.ports[2].h_outflow,sou.ports[2].m_flow,sou.ports[2].p,sou.use_C_in,sou.use_X_in,sou.use_Xi_in,sou.use_h_in,sou.use_m_flow_in,sou.verifyInputs,time [Calling sys.exit(0), Time elapsed: 16.094183641980635]