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.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.00151/0.00151, allocations: 114.5 kB / 18.94 MB, free: 2.934 MB / 14.72 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.001995/0.001995, allocations: 213 kB / 22.25 MB, free: 5.086 MB / 14.72 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 1.329/1.329, allocations: 230.6 MB / 256 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.938/2.938, allocations: 0.505 GB / 0.8101 GB, free: 22.04 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001851/0.001851, allocations: 66.27 kB / 1.177 GB, free: 17.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2955/0.2973, allocations: 180.2 MB / 1.353 GB, free: 8.434 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.201/0.4983, allocations: 185.7 MB / 1.534 GB, free: 14.09 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.006533/0.5049, allocations: 4.51 MB / 1.539 GB, free: 9.57 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006259/0.5055, allocations: 27.75 kB / 1.539 GB, free: 9.543 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.000776/0.5063, allocations: 250.1 kB / 1.539 GB, free: 9.297 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.001949/0.5082, allocations: 0.797 MB / 1.54 GB, free: 8.496 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.003539/0.5117, allocations: 1.591 MB / 1.541 GB, free: 6.902 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.001641/0.5134, allocations: 1.266 MB / 1.542 GB, free: 5.633 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006443/0.514, allocations: 369.7 kB / 1.543 GB, free: 5.266 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001646/0.5157, allocations: 0.8292 MB / 1.544 GB, free: 4.434 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006475/0.5163, allocations: 422.2 kB / 1.544 GB, free: 4.02 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 9.585e-05/0.5164, allocations: 52 kB / 1.544 GB, free: 3.969 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002682/0.5191, allocations: 1.668 MB / 1.546 GB, free: 2.297 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0002294/0.5193, allocations: 183.4 kB / 1.546 GB, free: 2.117 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0003688/0.5197, allocations: 310.5 kB / 1.546 GB, free: 1.812 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.002031/0.5217, allocations: 1.308 MB / 1.547 GB, free: 0.5 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.5217, allocations: 4 kB / 1.547 GB, free: 0.4961 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.142e-06/0.5217, allocations: 0 / 1.547 GB, free: 0.4961 MB / 1.232 GB Notification: Performance of Transformations before backend: time 1.48e-05/0.5218, allocations: 0 / 1.547 GB, free: 0.4961 MB / 1.232 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.00175/0.5235, allocations: 0.9644 MB / 1.548 GB, free: 15.48 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.5235, allocations: 12.02 kB / 1.548 GB, free: 15.47 MB / 1.248 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.764e-05/0.5236, allocations: 78.53 kB / 1.548 GB, free: 15.39 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001918/0.5256, allocations: 287.1 kB / 1.549 GB, free: 15.11 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000811/0.5264, allocations: 414.6 kB / 1.549 GB, free: 14.68 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.325e-05/0.5264, allocations: 33 kB / 1.549 GB, free: 14.65 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.871e-05/0.5265, allocations: 40 kB / 1.549 GB, free: 14.61 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009994/0.5275, allocations: 0.5507 MB / 1.55 GB, free: 14.02 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.5275, allocations: 0 / 1.55 GB, free: 14.02 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.303e-05/0.5275, allocations: 23.88 kB / 1.55 GB, free: 14 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.487e-05/0.5275, allocations: 12 kB / 1.55 GB, free: 13.99 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009957/0.5285, allocations: 459.5 kB / 1.55 GB, free: 13.54 MB / 1.248 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002567/0.5311, allocations: 2.066 MB / 1.552 GB, free: 11.35 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009413/0.5321, allocations: 398.4 kB / 1.553 GB, free: 10.95 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004589/0.5325, allocations: 213.3 kB / 1.553 GB, free: 10.74 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005146/0.533, allocations: 99.88 kB / 1.553 GB, free: 10.64 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005973/0.5336, allocations: 298.5 kB / 1.553 GB, free: 10.34 MB / 1.248 GB Notification: Performance of pre-optimization done (n=37): time 1.453e-06/0.5336, allocations: 0 / 1.553 GB, free: 10.34 MB / 1.248 GB Notification: Performance of matching and sorting (n=37): time 0.001703/0.5353, allocations: 0.688 MB / 1.554 GB, free: 9.641 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.857e-05/0.5354, allocations: 63.41 kB / 1.554 GB, free: 9.566 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005774/0.536, allocations: 494 kB / 1.554 GB, free: 9.07 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 4.799e-05/0.536, allocations: 37.7 kB / 1.554 GB, free: 9.027 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002016/0.5362, allocations: 260.5 kB / 1.555 GB, free: 8.77 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001165/0.5363, allocations: 134.9 kB / 1.555 GB, free: 8.637 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001447/0.5365, allocations: 90.08 kB / 1.555 GB, free: 8.543 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001653/0.5366, allocations: 362.8 kB / 1.555 GB, free: 8.18 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000468/0.5371, allocations: 192.8 kB / 1.555 GB, free: 7.992 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000567/0.5377, allocations: 315.7 kB / 1.556 GB, free: 7.641 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001005/0.5387, allocations: 0.5457 MB / 1.556 GB, free: 7.043 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.628e-06/0.5387, allocations: 3.938 kB / 1.556 GB, free: 7.039 MB / 1.248 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001252/0.5399, allocations: 0.6485 MB / 1.557 GB, free: 6.371 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 5.315e-05/0.54, allocations: 63.77 kB / 1.557 GB, free: 6.297 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.54, allocations: 4 kB / 1.557 GB, free: 6.293 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.54, allocations: 8 kB / 1.557 GB, free: 6.285 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004849/0.5405, allocations: 91.88 kB / 1.557 GB, free: 6.195 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.485e-05/0.5405, allocations: 19.81 kB / 1.557 GB, free: 6.176 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004795/0.541, allocations: 75.58 kB / 1.557 GB, free: 6.102 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.281e-05/0.541, allocations: 27.98 kB / 1.557 GB, free: 6.074 MB / 1.248 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.0002269/0.5413, allocations: 199.1 kB / 1.557 GB, free: 5.871 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.566e-05/0.5413, allocations: 55.67 kB / 1.557 GB, free: 5.816 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001176/0.5425, allocations: 0.5382 MB / 1.558 GB, free: 5.273 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.5425, allocations: 8 kB / 1.558 GB, free: 5.266 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.5425, allocations: 0 / 1.558 GB, free: 5.266 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.5425, allocations: 3.984 kB / 1.558 GB, free: 5.262 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00225/0.5448, allocations: 1.325 MB / 1.559 GB, free: 3.844 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.5448, allocations: 4 kB / 1.559 GB, free: 3.84 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003833/0.5452, allocations: 67.89 kB / 1.559 GB, free: 3.773 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.5452, allocations: 4 kB / 1.559 GB, free: 3.77 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.817e-05/0.5452, allocations: 19.98 kB / 1.559 GB, free: 3.75 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.471e-06/0.5452, allocations: 4 kB / 1.559 GB, free: 3.746 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-06/0.5452, allocations: 8.312 kB / 1.559 GB, free: 3.738 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001646/0.5469, allocations: 0.9486 MB / 1.56 GB, free: 2.727 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002104/0.5471, allocations: 91.56 kB / 1.56 GB, free: 2.637 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.888e-05/0.5472, allocations: 8 kB / 1.56 GB, free: 2.629 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004142/0.5476, allocations: 36.02 kB / 1.56 GB, free: 2.594 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/0.5477, allocations: 51.81 kB / 1.56 GB, free: 2.543 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.52e-05/0.5477, allocations: 19.98 kB / 1.56 GB, free: 2.523 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0004115/0.5481, allocations: 346.8 kB / 1.561 GB, free: 2.188 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5481, allocations: 0 / 1.561 GB, free: 2.188 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.0005286/0.5487, allocations: 155.8 kB / 1.561 GB, free: 2.035 MB / 1.248 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.00214/0.5508, allocations: 1.557 MB / 1.562 GB, free: 420 kB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.001149/0.5519, allocations: 0.5689 MB / 1.563 GB, free: 15.82 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.552, allocations: 4 kB / 1.563 GB, free: 15.81 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0006123/0.5526, allocations: 273.3 kB / 1.563 GB, free: 15.55 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001265/0.5538, allocations: 303.5 kB / 1.564 GB, free: 15.26 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007356/0.5612, allocations: 5.001 MB / 1.568 GB, free: 10 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004776/0.5617, allocations: 0.8704 MB / 1.569 GB, free: 9.102 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.0004186/0.5621, allocations: 124.7 kB / 1.569 GB, free: 8.977 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002907/0.5624, allocations: 183.3 kB / 1.57 GB, free: 8.797 MB / 1.264 GB Notification: Performance of SimCode: time 6.41e-07/0.5624, allocations: 0 / 1.57 GB, free: 8.797 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04865/0.611, allocations: 16.3 MB / 1.586 GB, free: 8.766 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/11.54, allocations: 10.03 kB / 1.586 GB, free: 8.758 MB / 1.279 GB " [Timeout remaining time 288] (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/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: 17.55989612895064]