Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.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.00135/0.00135, allocations: 110.8 kB / 16.4 MB, free: 6.512 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.001436/0.001436, allocations: 191.7 kB / 19.35 MB, free: 3.734 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.42/1.42, allocations: 222.9 MB / 245.1 MB, free: 15 MB / 206.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 3.014/3.014, allocations: 489 MB / 0.7678 GB, free: 29.21 MB / 0.6231 GB " [Timeout remaining time 177] 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.EntropyFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002108/0.002108, allocations: 71.88 kB / 1.101 GB, free: 5.828 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8508/0.8529, allocations: 163.8 MB / 1.261 GB, free: 7.105 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1964/1.049, allocations: 169.5 MB / 1.427 GB, free: 13 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.009485/1.059, allocations: 7.142 MB / 1.434 GB, free: 5.836 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005618/1.059, allocations: 11.94 kB / 1.434 GB, free: 5.824 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0006111/1.06, allocations: 178.7 kB / 1.434 GB, free: 5.648 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.003447/1.064, allocations: 1.253 MB / 1.435 GB, free: 4.391 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.001761/1.065, allocations: 0.6228 MB / 1.436 GB, free: 3.77 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.001114/1.066, allocations: 0.7524 MB / 1.436 GB, free: 3.016 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004952/1.067, allocations: 302.7 kB / 1.437 GB, free: 2.719 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001514/1.068, allocations: 0.7044 MB / 1.437 GB, free: 2.012 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007946/1.069, allocations: 410.5 kB / 1.438 GB, free: 1.609 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 5.665e-05/1.069, allocations: 28 kB / 1.438 GB, free: 1.582 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002218/1.072, allocations: 1.239 MB / 1.439 GB, free: 348 kB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001465/1.072, allocations: 123.7 kB / 1.439 GB, free: 224 kB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0002082/1.072, allocations: 171.2 kB / 1.439 GB, free: 52 kB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.001543/1.074, allocations: 0.9109 MB / 1.44 GB, free: 15.14 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/1.074, allocations: 0 / 1.44 GB, free: 15.14 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.044e-06/1.074, allocations: 0 / 1.44 GB, free: 15.14 MB / 1.154 GB Notification: Performance of Transformations before backend: time 8.155e-06/1.074, allocations: 0 / 1.44 GB, free: 15.14 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001062/1.075, allocations: 0.716 MB / 1.441 GB, free: 14.38 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/1.075, allocations: 12.03 kB / 1.441 GB, free: 14.36 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.517e-05/1.075, allocations: 62.53 kB / 1.441 GB, free: 14.29 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009916/1.076, allocations: 131.6 kB / 1.441 GB, free: 14.16 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000574/1.076, allocations: 333.4 kB / 1.441 GB, free: 13.8 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.39e-05/1.076, allocations: 50.27 kB / 1.441 GB, free: 13.74 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.92e-05/1.077, allocations: 28 kB / 1.441 GB, free: 13.71 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007169/1.077, allocations: 370.1 kB / 1.442 GB, free: 13.33 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/1.077, allocations: 3.984 kB / 1.442 GB, free: 13.33 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.372e-05/1.077, allocations: 12 kB / 1.442 GB, free: 13.32 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/1.077, allocations: 8 kB / 1.442 GB, free: 13.31 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005576/1.078, allocations: 278 kB / 1.442 GB, free: 13.04 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002001/1.08, allocations: 1.488 MB / 1.443 GB, free: 11.42 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004138/1.08, allocations: 194.5 kB / 1.444 GB, free: 11.22 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002298/1.081, allocations: 124.7 kB / 1.444 GB, free: 11.1 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009848/1.082, allocations: 0.4975 MB / 1.444 GB, free: 10.51 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.928e-05/1.082, allocations: 38.5 kB / 1.444 GB, free: 10.46 MB / 1.154 GB Notification: Performance of pre-optimization done (n=15): time 1.693e-06/1.082, allocations: 0 / 1.444 GB, free: 10.46 MB / 1.154 GB Notification: Performance of matching and sorting (n=15): time 0.0009701/1.083, allocations: 358.9 kB / 1.445 GB, free: 10.11 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.11e-05/1.083, allocations: 59.41 kB / 1.445 GB, free: 10.04 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003519/1.083, allocations: 312.5 kB / 1.445 GB, free: 9.719 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.921e-05/1.083, allocations: 25.7 kB / 1.445 GB, free: 9.688 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001483/1.083, allocations: 184.3 kB / 1.445 GB, free: 9.504 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 6.625e-05/1.083, allocations: 63.5 kB / 1.445 GB, free: 9.441 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.156e-05/1.083, allocations: 49.59 kB / 1.445 GB, free: 9.387 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001694/1.084, allocations: 346.8 kB / 1.446 GB, free: 9.039 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001987/1.084, allocations: 83.92 kB / 1.446 GB, free: 8.957 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002633/1.084, allocations: 151.8 kB / 1.446 GB, free: 8.789 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004443/1.084, allocations: 241.1 kB / 1.446 GB, free: 8.535 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/1.084, allocations: 4 kB / 1.446 GB, free: 8.531 MB / 1.154 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006217/1.085, allocations: 281.2 kB / 1.446 GB, free: 8.25 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/1.085, allocations: 13.66 kB / 1.446 GB, free: 8.238 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/1.085, allocations: 0 / 1.446 GB, free: 8.238 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/1.085, allocations: 4 kB / 1.446 GB, free: 8.234 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002163/1.085, allocations: 35.98 kB / 1.446 GB, free: 8.199 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/1.085, allocations: 0 / 1.446 GB, free: 8.199 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002069/1.086, allocations: 36.02 kB / 1.446 GB, free: 8.164 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.991e-05/1.086, allocations: 19.97 kB / 1.446 GB, free: 8.145 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (20): * Single equations (assignments): 20 * 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.0001639/1.086, allocations: 157.6 kB / 1.447 GB, free: 7.98 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001105/1.086, allocations: 27.81 kB / 1.447 GB, free: 7.953 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007298/1.087, allocations: 318 kB / 1.447 GB, free: 7.633 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/1.087, allocations: 0 / 1.447 GB, free: 7.633 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/1.087, allocations: 4 kB / 1.447 GB, free: 7.629 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/1.087, allocations: 8.031 kB / 1.447 GB, free: 7.621 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001343/1.088, allocations: 0.8006 MB / 1.448 GB, free: 6.742 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/1.088, allocations: 4 kB / 1.448 GB, free: 6.738 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001775/1.088, allocations: 35.91 kB / 1.448 GB, free: 6.703 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.095e-06/1.088, allocations: 7.938 kB / 1.448 GB, free: 6.695 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.033e-05/1.088, allocations: 8 kB / 1.448 GB, free: 6.688 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/1.088, allocations: 4 kB / 1.448 GB, free: 6.684 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/1.088, allocations: 3.938 kB / 1.448 GB, free: 6.68 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006546/1.089, allocations: 397.4 kB / 1.448 GB, free: 6.254 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00015/1.089, allocations: 140.8 kB / 1.448 GB, free: 6.098 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.606e-05/1.089, allocations: 7.938 kB / 1.448 GB, free: 6.09 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002404/1.089, allocations: 19.98 kB / 1.448 GB, free: 6.07 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.821e-05/1.09, allocations: 19.92 kB / 1.448 GB, free: 6.051 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.81e-05/1.09, allocations: 8 kB / 1.448 GB, free: 6.043 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0002352/1.09, allocations: 227 kB / 1.449 GB, free: 5.824 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.5e-07/1.09, allocations: 7.938 kB / 1.449 GB, free: 5.816 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0004996/1.09, allocations: 119.8 kB / 1.449 GB, free: 5.699 MB / 1.154 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 simulation (16): * Single equations (assignments): 16 * 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.001434/1.092, allocations: 1.053 MB / 1.45 GB, free: 4.602 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0005654/1.092, allocations: 227.7 kB / 1.45 GB, free: 4.379 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/1.092, allocations: 0 / 1.45 GB, free: 4.379 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0002437/1.093, allocations: 115.8 kB / 1.45 GB, free: 4.266 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008812/1.093, allocations: 165.5 kB / 1.45 GB, free: 4.113 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004107/1.098, allocations: 3.046 MB / 1.453 GB, free: 0.9141 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004114/1.098, allocations: 0.7873 MB / 1.454 GB, free: 104 kB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0002672/1.098, allocations: 86.8 kB / 1.454 GB, free: 12 kB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001813/1.098, allocations: 99.48 kB / 1.454 GB, free: 15.91 MB / 1.17 GB Notification: Performance of SimCode: time 2.3e-07/1.098, allocations: 0 / 1.454 GB, free: 15.91 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0353/1.134, allocations: 10.52 MB / 1.464 GB, free: 5.578 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.499/9.633, allocations: 3.938 kB / 1.464 GB, free: 5.574 MB / 1.17 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_EntropyFlowRate_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_EntropyFlowRate.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_EntropyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.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: 15.560242739040405]