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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008524/0.0008524, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001512/0.001512, allocations: 165.9 kB / 22.45 MB, free: 2.113 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9059/0.9059, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.677/1.677, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 1.683e-06/1.683e-06, allocations: 0 / 0.9505 GB, free: 3.488 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.483e-05/1.651e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.484 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.586/0.586, allocations: 143.8 MB / 1.091 GB, free: 39.12 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.003073/0.5891, allocations: 4.208 MB / 1.095 GB, free: 38.76 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002229/0.5893, allocations: 13.12 kB / 1.095 GB, free: 38.75 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003531/0.5897, allocations: 130.2 kB / 1.095 GB, free: 38.71 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001108/0.5908, allocations: 0.5813 MB / 1.096 GB, free: 38.63 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.00146/0.5923, allocations: 0.8381 MB / 1.097 GB, free: 38.42 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0005151/0.5928, allocations: 0.58 MB / 1.097 GB, free: 38.25 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002418/0.593, allocations: 159.9 kB / 1.097 GB, free: 38.19 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006825/0.5937, allocations: 0.5355 MB / 1.098 GB, free: 38 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003784/0.5941, allocations: 285.7 kB / 1.098 GB, free: 37.93 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 3.048e-05/0.5941, allocations: 18.41 kB / 1.098 GB, free: 37.93 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001061/0.5952, allocations: 0.8708 MB / 1.099 GB, free: 37.71 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001071/0.5953, allocations: 94.66 kB / 1.099 GB, free: 37.67 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 7.482e-05/0.5954, allocations: 93.61 kB / 1.099 GB, free: 37.64 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0008983/0.5963, allocations: 0.7247 MB / 1.1 GB, free: 37.46 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.5963, allocations: 0 / 1.1 GB, free: 37.46 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.385e-06/0.5963, allocations: 3.531 kB / 1.1 GB, free: 37.46 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.5963, allocations: 0 / 1.1 GB, free: 37.46 MB / 0.9948 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.0007393/0.597, allocations: 0.5346 MB / 1.1 GB, free: 37.04 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.5971, allocations: 9.469 kB / 1.1 GB, free: 37.04 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.1e-05/0.5971, allocations: 54.33 kB / 1.1 GB, free: 36.98 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003968/0.5975, allocations: 84.77 kB / 1.101 GB, free: 36.96 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003252/0.5978, allocations: 234.8 kB / 1.101 GB, free: 36.78 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/0.5978, allocations: 11.94 kB / 1.101 GB, free: 36.78 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.938e-05/0.5979, allocations: 20.72 kB / 1.101 GB, free: 36.77 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004207/0.5983, allocations: 286.8 kB / 1.101 GB, free: 36.61 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/0.5983, allocations: 1.125 kB / 1.101 GB, free: 36.61 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.889e-05/0.5983, allocations: 6.375 kB / 1.101 GB, free: 36.61 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.356e-05/0.5983, allocations: 4.625 kB / 1.101 GB, free: 36.61 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003864/0.5987, allocations: 207.9 kB / 1.101 GB, free: 36.55 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001162/0.5999, allocations: 1.166 MB / 1.102 GB, free: 35.61 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002134/0.6001, allocations: 170 kB / 1.103 GB, free: 35.46 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001494/0.6002, allocations: 105.1 kB / 1.103 GB, free: 35.4 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003609/0.6006, allocations: 110 kB / 1.103 GB, free: 35.39 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.867e-05/0.6006, allocations: 39.2 kB / 1.103 GB, free: 35.34 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=13): time 1.693e-06/0.6006, allocations: 1.094 kB / 1.103 GB, free: 35.34 MB / 0.9948 GB Notification: Performance of matching and sorting (n=13): time 0.0005163/0.6011, allocations: 277.8 kB / 1.103 GB, free: 35.24 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.6012, allocations: 162 kB / 1.103 GB, free: 35.05 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002094/0.6014, allocations: 291.5 kB / 1.104 GB, free: 34.89 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.682e-05/0.6014, allocations: 28.33 kB / 1.104 GB, free: 34.86 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 7.117e-05/0.6015, allocations: 151.9 kB / 1.104 GB, free: 34.72 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 3.134e-05/0.6015, allocations: 47.44 kB / 1.104 GB, free: 34.69 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.74e-05/0.6016, allocations: 40.98 kB / 1.104 GB, free: 34.66 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 4.618e-05/0.6016, allocations: 337.1 kB / 1.104 GB, free: 34.34 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000115/0.6017, allocations: 71.81 kB / 1.104 GB, free: 34.32 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001568/0.6019, allocations: 257.2 kB / 1.104 GB, free: 34.08 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002268/0.6021, allocations: 211.4 kB / 1.105 GB, free: 33.96 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.6021, allocations: 3.938 kB / 1.105 GB, free: 33.96 MB / 0.9948 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003227/0.6024, allocations: 246.1 kB / 1.105 GB, free: 33.86 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.6024, allocations: 6.094 kB / 1.105 GB, free: 33.86 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.6025, allocations: 2.469 kB / 1.105 GB, free: 33.86 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.6025, allocations: 10.33 kB / 1.105 GB, free: 33.86 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/0.6026, allocations: 34.58 kB / 1.105 GB, free: 33.86 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.6026, allocations: 7 kB / 1.105 GB, free: 33.85 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001066/0.6027, allocations: 33.81 kB / 1.105 GB, free: 33.83 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.424e-05/0.6027, allocations: 10.72 kB / 1.105 GB, free: 33.83 MB / 0.9948 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 8.162e-05/0.6028, allocations: 148.8 kB / 1.105 GB, free: 33.7 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.638e-05/0.6029, allocations: 24.59 kB / 1.105 GB, free: 33.69 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000282/0.6032, allocations: 189.3 kB / 1.105 GB, free: 33.58 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.6032, allocations: 2.188 kB / 1.105 GB, free: 33.58 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.6032, allocations: 2.188 kB / 1.105 GB, free: 33.58 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.6032, allocations: 2.25 kB / 1.105 GB, free: 33.58 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005556/0.6037, allocations: 0.8073 MB / 1.106 GB, free: 32.89 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.6037, allocations: 0 / 1.106 GB, free: 32.89 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.004e-05/0.6038, allocations: 26.47 kB / 1.106 GB, free: 32.89 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.6038, allocations: 6.469 kB / 1.106 GB, free: 32.88 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.6038, allocations: 3.891 kB / 1.106 GB, free: 32.88 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/0.6038, allocations: 6.031 kB / 1.106 GB, free: 32.88 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.6038, allocations: 6.906 kB / 1.106 GB, free: 32.88 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003149/0.6041, allocations: 342.3 kB / 1.106 GB, free: 32.64 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.609e-05/0.6042, allocations: 32.95 kB / 1.107 GB, free: 32.62 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.366e-05/0.6042, allocations: 3.328 kB / 1.107 GB, free: 32.62 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.818e-05/0.6043, allocations: 14.62 kB / 1.107 GB, free: 32.61 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.75e-05/0.6043, allocations: 12.53 kB / 1.107 GB, free: 32.61 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-06/0.6043, allocations: 4.516 kB / 1.107 GB, free: 32.61 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0001547/0.6045, allocations: 242.7 kB / 1.107 GB, free: 32.48 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7e-08/0.6045, allocations: 0 / 1.107 GB, free: 32.48 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0003285/0.6048, allocations: 102.5 kB / 1.107 GB, free: 32.46 MB / 0.9948 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.0006412/0.6054, allocations: 0.9783 MB / 1.108 GB, free: 31.67 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0002555/0.6057, allocations: 145.9 kB / 1.108 GB, free: 31.63 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.6057, allocations: 0 / 1.108 GB, free: 31.63 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 8.349e-05/0.6058, allocations: 58.62 kB / 1.108 GB, free: 31.62 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004653/0.6063, allocations: 135.4 kB / 1.108 GB, free: 31.58 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002201/0.6085, allocations: 2.747 MB / 1.111 GB, free: 29.7 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001079/0.6086, allocations: 150.3 kB / 1.111 GB, free: 29.62 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0001467/0.6087, allocations: 68.8 kB / 1.111 GB, free: 29.61 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.025e-05/0.6088, allocations: 79.14 kB / 1.111 GB, free: 29.55 MB / 0.9948 GB Notification: Performance of SimCode: time 4.11e-07/0.6088, allocations: 0 / 1.111 GB, free: 29.55 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02392/0.6327, allocations: 9.776 MB / 1.121 GB, free: 27.96 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.139/7.771, allocations: 5.688 kB / 1.121 GB, free: 27.96 MB / 0.9948 GB " [Timeout remaining time 292] (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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 11.779710048809648]