Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.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.001567/0.001567, allocations: 102.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.001403/0.001403, allocations: 188.6 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.437/1.437, allocations: 225.6 MB / 247.8 MB, free: 3.758 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.866/2.866, allocations: 497.2 MB / 0.7812 GB, free: 11.95 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.TemperatureDryBulb,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001979/0.001979, allocations: 63.91 kB / 1.134 GB, free: 13.16 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9605/0.9625, allocations: 173.9 MB / 1.304 GB, free: 32.09 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.2229/1.185, allocations: 182.4 MB / 1.482 GB, free: 11.35 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.007427/1.193, allocations: 4.463 MB / 1.486 GB, free: 7.73 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009528/1.194, allocations: 20.31 kB / 1.487 GB, free: 7.723 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001219/1.195, allocations: 258.3 kB / 1.487 GB, free: 7.496 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.003772/1.199, allocations: 0.7841 MB / 1.488 GB, free: 6.887 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.006847/1.206, allocations: 1.557 MB / 1.489 GB, free: 5.746 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.00282/1.208, allocations: 1.246 MB / 1.49 GB, free: 5.027 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009833/1.209, allocations: 378.6 kB / 1.491 GB, free: 4.781 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00306/1.212, allocations: 0.8176 MB / 1.491 GB, free: 4.285 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008951/1.213, allocations: 422.6 kB / 1.492 GB, free: 4.027 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001124/1.213, allocations: 50.47 kB / 1.492 GB, free: 4.023 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004904/1.218, allocations: 1.626 MB / 1.493 GB, free: 3.082 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0004043/1.219, allocations: 191 kB / 1.494 GB, free: 2.949 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0006109/1.219, allocations: 305 kB / 1.494 GB, free: 2.758 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.003167/1.223, allocations: 1.317 MB / 1.495 GB, free: 1.957 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/1.223, allocations: 0.875 kB / 1.495 GB, free: 1.957 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.453e-06/1.223, allocations: 0 / 1.495 GB, free: 1.957 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.51e-05/1.223, allocations: 0 / 1.495 GB, free: 1.957 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.002224/1.225, allocations: 1.034 MB / 1.496 GB, free: 1.098 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/1.225, allocations: 8.938 kB / 1.496 GB, free: 1.098 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001028/1.225, allocations: 80.88 kB / 1.496 GB, free: 1.023 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00217/1.227, allocations: 299.3 kB / 1.497 GB, free: 0.8828 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001003/1.228, allocations: 458 kB / 1.497 GB, free: 0.5039 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.054e-05/1.228, allocations: 39.09 kB / 1.497 GB, free: 492 kB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.427e-05/1.228, allocations: 49.81 kB / 1.497 GB, free: 472 kB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001053/1.229, allocations: 0.5499 MB / 1.498 GB, free: 96 kB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.582e-05/1.229, allocations: 1.156 kB / 1.498 GB, free: 96 kB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.732e-05/1.229, allocations: 24.22 kB / 1.498 GB, free: 76 kB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.761e-05/1.229, allocations: 10.59 kB / 1.498 GB, free: 76 kB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001246/1.231, allocations: 460.4 kB / 1.498 GB, free: 15.85 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003149/1.234, allocations: 2.111 MB / 1.5 GB, free: 14.01 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001019/1.235, allocations: 404 kB / 1.501 GB, free: 13.8 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004776/1.235, allocations: 216.9 kB / 1.501 GB, free: 13.7 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007501/1.236, allocations: 403.2 kB / 1.501 GB, free: 13.28 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006982/1.237, allocations: 292.7 kB / 1.501 GB, free: 12.99 MB / 1.186 GB Notification: Performance of pre-optimization done (n=37): time 2.394e-06/1.237, allocations: 0 / 1.501 GB, free: 12.99 MB / 1.186 GB Notification: Performance of matching and sorting (n=37): time 0.001893/1.239, allocations: 0.6855 MB / 1.502 GB, free: 12.3 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.435e-05/1.239, allocations: 67.33 kB / 1.502 GB, free: 12.22 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006402/1.239, allocations: 490.1 kB / 1.503 GB, free: 11.73 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 4.974e-05/1.239, allocations: 37.69 kB / 1.503 GB, free: 11.68 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002345/1.24, allocations: 256.5 kB / 1.503 GB, free: 11.43 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.000127/1.24, allocations: 134.9 kB / 1.503 GB, free: 11.3 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001712/1.24, allocations: 98.08 kB / 1.503 GB, free: 11.2 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001903/1.24, allocations: 362.8 kB / 1.504 GB, free: 10.83 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000491/1.241, allocations: 200.8 kB / 1.504 GB, free: 10.64 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005952/1.241, allocations: 308.1 kB / 1.504 GB, free: 10.3 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001059/1.242, allocations: 0.5488 MB / 1.505 GB, free: 9.699 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.89e-06/1.242, allocations: 3.938 kB / 1.505 GB, free: 9.695 MB / 1.186 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001365/1.244, allocations: 0.6408 MB / 1.505 GB, free: 9.035 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 6.022e-05/1.244, allocations: 63.41 kB / 1.505 GB, free: 8.961 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/1.244, allocations: 4.375 kB / 1.505 GB, free: 8.957 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/1.244, allocations: 8 kB / 1.505 GB, free: 8.949 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000469/1.244, allocations: 95.81 kB / 1.505 GB, free: 8.855 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/1.244, allocations: 4 kB / 1.505 GB, free: 8.852 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005581/1.245, allocations: 79.52 kB / 1.505 GB, free: 8.773 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.563e-05/1.245, allocations: 23.98 kB / 1.505 GB, free: 8.75 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 (m_flow2.count,$PRE.m_flow2.count,m_flow2.T_start,$PRE.m_flow2.T_start,m_flow1.count,$PRE.m_flow1.count,m_flow1.T_start,$PRE.m_flow1.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 2 * 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.0002676/1.245, allocations: 201.6 kB / 1.506 GB, free: 8.543 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.09e-05/1.245, allocations: 55.62 kB / 1.506 GB, free: 8.488 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001268/1.246, allocations: 0.535 MB / 1.506 GB, free: 7.945 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.125e-06/1.246, allocations: 4 kB / 1.506 GB, free: 7.941 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/1.246, allocations: 0 / 1.506 GB, free: 7.941 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/1.246, allocations: 7.938 kB / 1.506 GB, free: 7.934 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002527/1.249, allocations: 1.359 MB / 1.508 GB, free: 6.477 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/1.249, allocations: 0 / 1.508 GB, free: 6.477 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004011/1.249, allocations: 75.89 kB / 1.508 GB, free: 6.402 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/1.249, allocations: 4 kB / 1.508 GB, free: 6.398 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.717e-05/1.249, allocations: 15.98 kB / 1.508 GB, free: 6.383 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.322e-06/1.249, allocations: 7.938 kB / 1.508 GB, free: 6.375 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/1.249, allocations: 7.938 kB / 1.508 GB, free: 6.367 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001798/1.251, allocations: 0.9335 MB / 1.509 GB, free: 5.371 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002929/1.252, allocations: 172.6 kB / 1.509 GB, free: 5.184 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.2e-05/1.252, allocations: 12 kB / 1.509 GB, free: 5.172 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004255/1.252, allocations: 35.95 kB / 1.509 GB, free: 5.137 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001322/1.252, allocations: 51.95 kB / 1.509 GB, free: 5.086 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.287e-05/1.252, allocations: 15.98 kB / 1.509 GB, free: 5.07 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0004465/1.253, allocations: 346.8 kB / 1.509 GB, free: 4.734 MB / 1.186 GB Notification: Performance of sort global known variables: time 8.1e-08/1.253, allocations: 0 / 1.509 GB, free: 4.734 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0006145/1.253, allocations: 151.8 kB / 1.509 GB, free: 4.586 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (temDyn.T,temDynLoss.T) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,m_flow1.T_start,m_flow1.count,m_flow2.T_start,m_flow2.count) * Number of discrete states: 2 (m_flow2.count,m_flow1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002547/1.256, allocations: 1.588 MB / 1.511 GB, free: 2.938 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001349/1.257, allocations: 0.5681 MB / 1.511 GB, free: 2.344 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/1.257, allocations: 0 / 1.511 GB, free: 2.344 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0006841/1.258, allocations: 281.1 kB / 1.512 GB, free: 2.07 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001442/1.259, allocations: 284.1 kB / 1.512 GB, free: 1.797 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008571/1.268, allocations: 5.019 MB / 1.517 GB, free: 12.52 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005739/1.268, allocations: 0.8626 MB / 1.518 GB, free: 11.63 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0005581/1.269, allocations: 124.7 kB / 1.518 GB, free: 11.5 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002968/1.269, allocations: 175.4 kB / 1.518 GB, free: 11.33 MB / 1.201 GB Notification: Performance of SimCode: time 1.122e-06/1.269, allocations: 0 / 1.518 GB, free: 11.33 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05079/1.32, allocations: 15.95 MB / 1.534 GB, free: 11.66 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.098/10.42, allocations: 16.03 kB / 1.534 GB, free: 11.64 MB / 1.217 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.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.66049755597487]