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.001978/0.001978, allocations: 104.7 kB / 16.45 MB, free: 6.445 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.002286/0.002286, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.497/1.497, allocations: 225.6 MB / 247.8 MB, free: 3.719 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.808/2.808, allocations: 476.7 MB / 0.7611 GB, free: 15.68 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.002775/0.002775, allocations: 63.91 kB / 1.104 GB, free: 6.512 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.024/1.026, allocations: 168.7 MB / 1.269 GB, free: 7.195 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.2094/1.236, allocations: 163.8 MB / 1.429 GB, free: 13.62 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.006916/1.243, allocations: 4.594 MB / 1.433 GB, free: 9.926 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004256/1.243, allocations: 10.31 kB / 1.433 GB, free: 9.922 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0004684/1.244, allocations: 121.2 kB / 1.433 GB, free: 9.816 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.001427/1.245, allocations: 0.568 MB / 1.434 GB, free: 9.387 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001991/1.247, allocations: 0.7796 MB / 1.435 GB, free: 8.82 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0009946/1.248, allocations: 0.5799 MB / 1.435 GB, free: 8.484 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004242/1.248, allocations: 182.6 kB / 1.435 GB, free: 8.375 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001154/1.25, allocations: 478.2 kB / 1.436 GB, free: 8.078 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006117/1.25, allocations: 310.4 kB / 1.436 GB, free: 7.895 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 3.71e-05/1.25, allocations: 17.41 kB / 1.436 GB, free: 7.895 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001883/1.252, allocations: 1.072 MB / 1.437 GB, free: 7.277 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0001305/1.252, allocations: 92.23 kB / 1.437 GB, free: 7.215 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0001556/1.252, allocations: 126.7 kB / 1.437 GB, free: 7.137 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001176/1.254, allocations: 0.7166 MB / 1.438 GB, free: 6.703 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/1.254, allocations: 0 / 1.438 GB, free: 6.703 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.502e-06/1.254, allocations: 5.375 kB / 1.438 GB, free: 6.699 MB / 1.123 GB Notification: Performance of Transformations before backend: time 7.074e-06/1.254, allocations: 3.938 kB / 1.438 GB, free: 6.695 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.001029/1.255, allocations: 0.6019 MB / 1.439 GB, free: 6.145 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.5e-05/1.255, allocations: 9.625 kB / 1.439 GB, free: 6.145 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.02e-05/1.255, allocations: 53.42 kB / 1.439 GB, free: 6.09 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006631/1.255, allocations: 79.56 kB / 1.439 GB, free: 6.051 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004828/1.256, allocations: 300.7 kB / 1.439 GB, free: 5.766 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.877e-05/1.256, allocations: 12.25 kB / 1.439 GB, free: 5.762 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.663e-05/1.256, allocations: 16.94 kB / 1.439 GB, free: 5.758 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005065/1.256, allocations: 291.9 kB / 1.439 GB, free: 5.543 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/1.257, allocations: 0 / 1.439 GB, free: 5.543 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.88e-05/1.257, allocations: 15.05 kB / 1.439 GB, free: 5.531 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/1.257, allocations: 3.75 kB / 1.439 GB, free: 5.531 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004358/1.257, allocations: 212.7 kB / 1.44 GB, free: 5.426 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001832/1.259, allocations: 1.247 MB / 1.441 GB, free: 4.293 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003249/1.259, allocations: 168 kB / 1.441 GB, free: 4.129 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002052/1.259, allocations: 108.9 kB / 1.441 GB, free: 4.051 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000834/1.26, allocations: 332.6 kB / 1.441 GB, free: 3.727 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.634e-05/1.26, allocations: 37.28 kB / 1.441 GB, free: 3.684 MB / 1.123 GB Notification: Performance of pre-optimization done (n=13): time 1.462e-06/1.26, allocations: 0 / 1.441 GB, free: 3.684 MB / 1.123 GB Notification: Performance of matching and sorting (n=13): time 0.0008158/1.261, allocations: 281.8 kB / 1.442 GB, free: 3.531 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001128/1.261, allocations: 161.4 kB / 1.442 GB, free: 3.34 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003642/1.262, allocations: 289.5 kB / 1.442 GB, free: 3.148 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 2.94e-05/1.262, allocations: 25.7 kB / 1.442 GB, free: 3.117 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001475/1.262, allocations: 152.5 kB / 1.442 GB, free: 2.965 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 5.378e-05/1.262, allocations: 51.58 kB / 1.442 GB, free: 2.914 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.541e-05/1.262, allocations: 41.7 kB / 1.442 GB, free: 2.867 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001781/1.262, allocations: 334.8 kB / 1.443 GB, free: 2.531 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001796/1.262, allocations: 71.84 kB / 1.443 GB, free: 2.461 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002531/1.262, allocations: 150.5 kB / 1.443 GB, free: 2.285 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000411/1.263, allocations: 211.5 kB / 1.443 GB, free: 2.051 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/1.263, allocations: 384 / 1.443 GB, free: 2.051 MB / 1.123 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005385/1.263, allocations: 241.3 kB / 1.443 GB, free: 1.809 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/1.263, allocations: 8 kB / 1.443 GB, free: 1.801 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/1.263, allocations: 0 / 1.443 GB, free: 1.801 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/1.263, allocations: 7.938 kB / 1.443 GB, free: 1.793 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001989/1.264, allocations: 39.91 kB / 1.443 GB, free: 1.754 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/1.264, allocations: 4 kB / 1.443 GB, free: 1.75 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002108/1.264, allocations: 39.7 kB / 1.443 GB, free: 1.711 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.053e-05/1.264, allocations: 8.156 kB / 1.443 GB, free: 1.703 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.0001649/1.264, allocations: 153.8 kB / 1.444 GB, free: 1.543 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000153/1.264, allocations: 27.81 kB / 1.444 GB, free: 1.516 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004938/1.265, allocations: 189.8 kB / 1.444 GB, free: 1.312 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/1.265, allocations: 0 / 1.444 GB, free: 1.312 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/1.265, allocations: 4 kB / 1.444 GB, free: 1.309 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/1.265, allocations: 3.938 kB / 1.444 GB, free: 1.305 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001142/1.266, allocations: 0.8588 MB / 1.445 GB, free: 380 kB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-06/1.266, allocations: 0 / 1.445 GB, free: 380 kB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001239/1.266, allocations: 27.86 kB / 1.445 GB, free: 352 kB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.743e-06/1.266, allocations: 4 kB / 1.445 GB, free: 348 kB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/1.266, allocations: 4 kB / 1.445 GB, free: 344 kB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/1.266, allocations: 0 / 1.445 GB, free: 344 kB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/1.266, allocations: 8.141 kB / 1.445 GB, free: 336 kB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006221/1.267, allocations: 335.6 kB / 1.445 GB, free: 15.96 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000127/1.267, allocations: 120.8 kB / 1.445 GB, free: 15.83 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.049e-05/1.267, allocations: 0 / 1.445 GB, free: 15.83 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001631/1.267, allocations: 12 kB / 1.445 GB, free: 15.82 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.34e-05/1.267, allocations: 7.984 kB / 1.445 GB, free: 15.81 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.646e-06/1.267, allocations: 4 kB / 1.445 GB, free: 15.8 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0002639/1.267, allocations: 237.9 kB / 1.445 GB, free: 15.57 MB / 1.139 GB Notification: Performance of sort global known variables: time 1e-07/1.267, allocations: 4.062 kB / 1.445 GB, free: 15.57 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0005193/1.268, allocations: 99.84 kB / 1.445 GB, free: 15.47 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.001391/1.269, allocations: 1.005 MB / 1.446 GB, free: 14.44 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0004221/1.27, allocations: 147.8 kB / 1.447 GB, free: 14.29 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/1.27, allocations: 0 / 1.447 GB, free: 14.29 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0001431/1.27, allocations: 56.72 kB / 1.447 GB, free: 14.24 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007906/1.271, allocations: 140.8 kB / 1.447 GB, free: 14.1 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00369/1.274, allocations: 2.768 MB / 1.45 GB, free: 11.18 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003991/1.275, allocations: 0.7558 MB / 1.45 GB, free: 10.39 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.000215/1.275, allocations: 58.94 kB / 1.45 GB, free: 10.33 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001184/1.275, allocations: 75.41 kB / 1.45 GB, free: 10.26 MB / 1.139 GB Notification: Performance of SimCode: time 1.172e-06/1.275, allocations: 0 / 1.45 GB, free: 10.26 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03686/1.312, allocations: 8.674 MB / 1.459 GB, free: 1.75 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.755/10.07, allocations: 13.5 kB / 1.459 GB, free: 1.738 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 --stepSize=0.024 --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] Reference file matches [Calling sys.exit(0), Time elapsed: 16.302578415721655]