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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00145/0.00145, allocations: 105.6 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.00136/0.00136, 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.442/1.442, allocations: 225.6 MB / 247.8 MB, free: 3.711 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.916/2.916, allocations: 497.2 MB / 0.7811 GB, free: 11.91 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002023/0.002023, allocations: 67.89 kB / 1.134 GB, free: 13.12 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.003/1.005, allocations: 173.9 MB / 1.304 GB, free: 32.09 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.2068/1.212, allocations: 163.8 MB / 1.464 GB, free: 9.121 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.007382/1.219, allocations: 4.593 MB / 1.468 GB, free: 5.871 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005937/1.22, allocations: 14.78 kB / 1.468 GB, free: 5.863 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0006112/1.22, allocations: 121.2 kB / 1.469 GB, free: 5.785 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002154/1.222, allocations: 0.565 MB / 1.469 GB, free: 5.484 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002598/1.225, allocations: 0.7818 MB / 1.47 GB, free: 5.102 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001044/1.226, allocations: 0.573 MB / 1.47 GB, free: 4.848 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004829/1.227, allocations: 184.6 kB / 1.471 GB, free: 4.77 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001945/1.229, allocations: 0.6875 MB / 1.471 GB, free: 4.449 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007981/1.229, allocations: 298.2 kB / 1.472 GB, free: 4.332 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 7.224e-05/1.229, allocations: 22.06 kB / 1.472 GB, free: 4.328 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002374/1.232, allocations: 1.066 MB / 1.473 GB, free: 3.852 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0001639/1.232, allocations: 92.88 kB / 1.473 GB, free: 3.789 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0002417/1.232, allocations: 129.8 kB / 1.473 GB, free: 3.707 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.00178/1.234, allocations: 0.7137 MB / 1.474 GB, free: 3.277 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/1.234, allocations: 0 / 1.474 GB, free: 3.277 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.633e-06/1.234, allocations: 3.938 kB / 1.474 GB, free: 3.273 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.874e-05/1.234, allocations: 1.594 kB / 1.474 GB, free: 3.273 MB / 1.154 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.001646/1.236, allocations: 0.6098 MB / 1.474 GB, free: 2.715 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.881e-05/1.236, allocations: 8.438 kB / 1.474 GB, free: 2.715 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001064/1.236, allocations: 49.8 kB / 1.474 GB, free: 2.664 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008041/1.237, allocations: 78.84 kB / 1.474 GB, free: 2.625 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006224/1.237, allocations: 297.3 kB / 1.475 GB, free: 2.344 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.07e-05/1.237, allocations: 16.19 kB / 1.475 GB, free: 2.336 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.758e-05/1.237, allocations: 17.69 kB / 1.475 GB, free: 2.332 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005863/1.238, allocations: 287 kB / 1.475 GB, free: 2.121 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/1.238, allocations: 4 kB / 1.475 GB, free: 2.117 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.04e-05/1.238, allocations: 14.59 kB / 1.475 GB, free: 2.105 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.718e-06/1.238, allocations: 5.156 kB / 1.475 GB, free: 2.105 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004658/1.238, allocations: 204.6 kB / 1.475 GB, free: 2.008 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001931/1.24, allocations: 1.238 MB / 1.476 GB, free: 0.8828 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003331/1.241, allocations: 172.8 kB / 1.476 GB, free: 0.7148 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002224/1.241, allocations: 112.6 kB / 1.477 GB, free: 0.6328 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008326/1.242, allocations: 324.2 kB / 1.477 GB, free: 324 kB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.869e-05/1.242, allocations: 50.27 kB / 1.477 GB, free: 268 kB / 1.154 GB Notification: Performance of pre-optimization done (n=13): time 1.974e-06/1.242, allocations: 0 / 1.477 GB, free: 268 kB / 1.154 GB Notification: Performance of matching and sorting (n=13): time 0.000849/1.243, allocations: 282.1 kB / 1.477 GB, free: 112 kB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001284/1.243, allocations: 159.5 kB / 1.477 GB, free: 15.92 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003747/1.243, allocations: 284.1 kB / 1.478 GB, free: 15.73 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 3.378e-05/1.243, allocations: 31.14 kB / 1.478 GB, free: 15.7 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001408/1.243, allocations: 148.7 kB / 1.478 GB, free: 15.56 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 5.125e-05/1.243, allocations: 52.84 kB / 1.478 GB, free: 15.51 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.138e-05/1.243, allocations: 42.7 kB / 1.478 GB, free: 15.48 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001772/1.244, allocations: 337 kB / 1.478 GB, free: 15.15 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001704/1.244, allocations: 71.39 kB / 1.478 GB, free: 15.11 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002493/1.244, allocations: 149.4 kB / 1.478 GB, free: 14.99 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004041/1.244, allocations: 215.1 kB / 1.479 GB, free: 14.83 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/1.244, allocations: 0 / 1.479 GB, free: 14.83 MB / 1.17 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005737/1.245, allocations: 239.6 kB / 1.479 GB, free: 14.7 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/1.245, allocations: 6.375 kB / 1.479 GB, free: 14.7 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/1.245, allocations: 2.938 kB / 1.479 GB, free: 14.7 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/1.245, allocations: 6.844 kB / 1.479 GB, free: 14.7 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002013/1.245, allocations: 40.88 kB / 1.479 GB, free: 14.69 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.212e-05/1.245, allocations: 6.25 kB / 1.479 GB, free: 14.68 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002376/1.246, allocations: 38.45 kB / 1.479 GB, free: 14.66 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.607e-05/1.246, allocations: 13.59 kB / 1.479 GB, free: 14.65 MB / 1.17 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.0001626/1.246, allocations: 143.6 kB / 1.479 GB, free: 14.52 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001661/1.246, allocations: 27.47 kB / 1.479 GB, free: 14.5 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004991/1.246, allocations: 186.4 kB / 1.479 GB, free: 14.36 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/1.246, allocations: 7.031 kB / 1.479 GB, free: 14.36 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/1.246, allocations: 1.062 kB / 1.479 GB, free: 14.36 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.807e-06/1.246, allocations: 6.125 kB / 1.479 GB, free: 14.36 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001167/1.248, allocations: 0.856 MB / 1.48 GB, free: 13.55 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/1.248, allocations: 1.531 kB / 1.48 GB, free: 13.55 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001335/1.248, allocations: 29.89 kB / 1.48 GB, free: 13.54 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/1.248, allocations: 1.469 kB / 1.48 GB, free: 13.54 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.572e-05/1.248, allocations: 7.891 kB / 1.48 GB, free: 13.53 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/1.248, allocations: 1.25 kB / 1.48 GB, free: 13.53 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/1.248, allocations: 5.312 kB / 1.48 GB, free: 13.53 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006122/1.248, allocations: 334.2 kB / 1.48 GB, free: 13.27 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001568/1.249, allocations: 119.2 kB / 1.481 GB, free: 13.14 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.871e-05/1.249, allocations: 2.562 kB / 1.481 GB, free: 13.14 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001625/1.249, allocations: 12.89 kB / 1.481 GB, free: 13.13 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.532e-05/1.249, allocations: 9.25 kB / 1.481 GB, free: 13.13 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.804e-06/1.249, allocations: 3.875 kB / 1.481 GB, free: 13.13 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0002762/1.249, allocations: 241.2 kB / 1.481 GB, free: 12.97 MB / 1.17 GB Notification: Performance of sort global known variables: time 1e-07/1.249, allocations: 0 / 1.481 GB, free: 12.97 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0005322/1.25, allocations: 95.84 kB / 1.481 GB, free: 12.95 MB / 1.17 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.001477/1.251, allocations: 1.002 MB / 1.482 GB, free: 12.09 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0004247/1.251, allocations: 147.9 kB / 1.482 GB, free: 12.02 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/1.251, allocations: 0 / 1.482 GB, free: 12.02 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0001479/1.252, allocations: 59.64 kB / 1.482 GB, free: 11.99 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007745/1.252, allocations: 126.5 kB / 1.482 GB, free: 11.94 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004663/1.257, allocations: 2.783 MB / 1.485 GB, free: 9.785 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004366/1.258, allocations: 0.7545 MB / 1.486 GB, free: 9.055 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0002304/1.258, allocations: 65.97 kB / 1.486 GB, free: 9.023 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001332/1.258, allocations: 74.97 kB / 1.486 GB, free: 8.965 MB / 1.17 GB Notification: Performance of SimCode: time 9.22e-07/1.258, allocations: 0 / 1.486 GB, free: 8.965 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04804/1.306, allocations: 8.659 MB / 1.494 GB, free: 4.051 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.452/9.758, allocations: 7.922 kB / 1.494 GB, free: 4.043 MB / 1.17 GB " [Timeout remaining time 290] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_SpecificEntropy_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_SpecificEntropy.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_SpecificEntropy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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.023077285382897]