Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008462/0.0008462, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.000932/0.000932, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8744/0.8744, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.698/1.698, allocations: 377.8 MB / 0.6221 GB, free: 8.656 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.TemperatureDryBulb,fileNamePrefix="Buildings_12_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="Buildings_12_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.981 GB, free: 2.562 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.727e-05/1.891e-05, allocations: 6.281 kB / 0.981 GB, free: 2.555 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.5739/0.5739, allocations: 160.5 MB / 1.138 GB, free: 4.602 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.005019/0.5789, allocations: 4.152 MB / 1.142 GB, free: 1.789 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007641/0.5797, allocations: 28.19 kB / 1.142 GB, free: 1.773 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006584/0.5804, allocations: 257.3 kB / 1.142 GB, free: 1.605 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001866/0.5822, allocations: 0.7781 MB / 1.143 GB, free: 1.172 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.003565/0.5858, allocations: 1.61 MB / 1.144 GB, free: 396 kB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001725/0.5875, allocations: 1.256 MB / 1.146 GB, free: 15.8 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006547/0.5882, allocations: 359.7 kB / 1.146 GB, free: 15.64 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001998/0.5902, allocations: 0.9884 MB / 1.147 GB, free: 15.21 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005767/0.5908, allocations: 349.9 kB / 1.147 GB, free: 15.11 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 8.878e-05/0.5908, allocations: 46.34 kB / 1.147 GB, free: 15.11 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002632/0.5935, allocations: 1.274 MB / 1.149 GB, free: 14.62 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.000234/0.5937, allocations: 196.1 kB / 1.149 GB, free: 14.52 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0002737/0.594, allocations: 216.7 kB / 1.149 GB, free: 14.44 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.002444/0.5964, allocations: 1.32 MB / 1.15 GB, free: 14 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.5964, allocations: 1.094 kB / 1.15 GB, free: 14 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.252e-06/0.5964, allocations: 0 / 1.15 GB, free: 14 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.093e-05/0.5964, allocations: 0 / 1.15 GB, free: 14 MB / 1.01 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.001475/0.5979, allocations: 0.9733 MB / 1.151 GB, free: 13.31 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.598, allocations: 10.38 kB / 1.151 GB, free: 13.31 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.351e-05/0.598, allocations: 80.88 kB / 1.151 GB, free: 13.25 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001247/0.5993, allocations: 285.2 kB / 1.152 GB, free: 13.2 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006478/0.5999, allocations: 408.7 kB / 1.152 GB, free: 12.93 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.963e-05/0.6, allocations: 31.33 kB / 1.152 GB, free: 12.92 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.711e-05/0.6, allocations: 46.28 kB / 1.152 GB, free: 12.9 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008642/0.6009, allocations: 0.5476 MB / 1.153 GB, free: 12.64 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.6009, allocations: 1.062 kB / 1.153 GB, free: 12.64 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.512e-05/0.6009, allocations: 21.08 kB / 1.153 GB, free: 12.63 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.21e-05/0.601, allocations: 9.625 kB / 1.153 GB, free: 12.63 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007088/0.6017, allocations: 459 kB / 1.153 GB, free: 12.5 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002089/0.6038, allocations: 1.781 MB / 1.155 GB, free: 11.22 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006679/0.6044, allocations: 390.6 kB / 1.155 GB, free: 11.1 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003088/0.6047, allocations: 210.4 kB / 1.155 GB, free: 11.04 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000344/0.6051, allocations: 95.03 kB / 1.155 GB, free: 11.03 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004746/0.6055, allocations: 303.2 kB / 1.156 GB, free: 10.91 MB / 1.01 GB Notification: Performance of pre-optimization done (n=37): time 3.337e-06/0.6055, allocations: 0 / 1.156 GB, free: 10.91 MB / 1.01 GB Notification: Performance of matching and sorting (n=37): time 0.001239/0.6068, allocations: 0.6965 MB / 1.156 GB, free: 10.69 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.938e-05/0.6068, allocations: 61.53 kB / 1.156 GB, free: 10.62 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004759/0.6073, allocations: 496.8 kB / 1.157 GB, free: 10.4 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 4.164e-05/0.6073, allocations: 34.12 kB / 1.157 GB, free: 10.36 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001528/0.6075, allocations: 267.1 kB / 1.157 GB, free: 10.14 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 9.345e-05/0.6076, allocations: 133.2 kB / 1.157 GB, free: 10.04 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001185/0.6077, allocations: 94.47 kB / 1.157 GB, free: 9.988 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.6078, allocations: 360.2 kB / 1.158 GB, free: 9.656 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003361/0.6082, allocations: 256.4 kB / 1.158 GB, free: 9.539 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004286/0.6086, allocations: 0.4887 MB / 1.158 GB, free: 9.148 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00068/0.6093, allocations: 0.5459 MB / 1.159 GB, free: 8.836 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.6093, allocations: 1.5 kB / 1.159 GB, free: 8.836 MB / 1.01 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0009265/0.6102, allocations: 0.6992 MB / 1.16 GB, free: 8.5 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 5.017e-05/0.6102, allocations: 69.28 kB / 1.16 GB, free: 8.43 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.6103, allocations: 6.031 kB / 1.16 GB, free: 8.43 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.834e-05/0.6103, allocations: 6.25 kB / 1.16 GB, free: 8.43 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002685/0.6105, allocations: 93.94 kB / 1.16 GB, free: 8.422 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/0.6106, allocations: 10.78 kB / 1.16 GB, free: 8.418 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003741/0.6109, allocations: 87.05 kB / 1.16 GB, free: 8.375 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.296e-05/0.611, allocations: 21.81 kB / 1.16 GB, free: 8.371 MB / 1.01 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.0002137/0.6112, allocations: 187.9 kB / 1.16 GB, free: 8.219 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.787e-05/0.6112, allocations: 62.48 kB / 1.16 GB, free: 8.184 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007952/0.612, allocations: 0.542 MB / 1.161 GB, free: 7.977 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.612, allocations: 4.547 kB / 1.161 GB, free: 7.977 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.612, allocations: 0 / 1.161 GB, free: 7.977 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.6121, allocations: 1.828 kB / 1.161 GB, free: 7.977 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001625/0.6137, allocations: 1.262 MB / 1.162 GB, free: 7.305 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.6137, allocations: 6.047 kB / 1.162 GB, free: 7.305 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002276/0.6139, allocations: 81.05 kB / 1.162 GB, free: 7.293 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.733e-06/0.6139, allocations: 4.312 kB / 1.162 GB, free: 7.293 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.543e-05/0.6139, allocations: 16.12 kB / 1.162 GB, free: 7.285 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.122e-06/0.614, allocations: 6.219 kB / 1.162 GB, free: 7.285 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.614, allocations: 8.281 kB / 1.162 GB, free: 7.281 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001128/0.6151, allocations: 0.9248 MB / 1.163 GB, free: 6.805 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002064/0.6153, allocations: 96.64 kB / 1.163 GB, free: 6.754 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.291e-05/0.6153, allocations: 20.19 kB / 1.163 GB, free: 6.742 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002405/0.6156, allocations: 34.27 kB / 1.163 GB, free: 6.738 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000115/0.6157, allocations: 51.3 kB / 1.163 GB, free: 6.723 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.382e-05/0.6157, allocations: 16.72 kB / 1.163 GB, free: 6.719 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0003483/0.6161, allocations: 347.2 kB / 1.164 GB, free: 6.562 MB / 1.01 GB Notification: Performance of sort global known variables: time 2.1e-07/0.6161, allocations: 0 / 1.164 GB, free: 6.562 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0005498/0.6166, allocations: 156.7 kB / 1.164 GB, free: 6.535 MB / 1.01 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.001624/0.6182, allocations: 1.561 MB / 1.165 GB, free: 5.488 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0008847/0.6191, allocations: 0.6262 MB / 1.166 GB, free: 5.168 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.6191, allocations: 0 / 1.166 GB, free: 5.168 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0004206/0.6196, allocations: 279.2 kB / 1.166 GB, free: 5.082 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009294/0.6205, allocations: 284.2 kB / 1.166 GB, free: 5.012 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006421/0.6269, allocations: 5.214 MB / 1.171 GB, free: 1.867 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002251/0.6271, allocations: 271 kB / 1.172 GB, free: 1.762 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0005149/0.6276, allocations: 128.2 kB / 1.172 GB, free: 1.73 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002205/0.6279, allocations: 182.4 kB / 1.172 GB, free: 1.602 MB / 1.01 GB Notification: Performance of SimCode: time 1.383e-06/0.6279, allocations: 0 / 1.172 GB, free: 1.602 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03449/0.6624, allocations: 17.7 MB / 1.189 GB, free: 12.03 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.815/7.477, allocations: 13.84 kB / 1.189 GB, free: 12.03 MB / 1.026 GB " [Timeout remaining time 292] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.fmu > Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.424322518520057]