Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001314/0.001314, 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.001537/0.001537, allocations: 170.3 kB / 22.46 MB, free: 2.105 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.9388/0.9388, 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.685/1.685, allocations: 359 MB / 0.6037 GB, free: 11.1 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.TemperatureDryBulb,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 0.9505 GB, free: 3.457 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.69e-05/2.89e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.453 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.5803/0.5803, allocations: 160.5 MB / 1.107 GB, free: 36.23 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.004416/0.5848, allocations: 4.142 MB / 1.111 GB, free: 34.86 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005721/0.5853, allocations: 32 kB / 1.111 GB, free: 34.84 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006194/0.586, allocations: 262.8 kB / 1.112 GB, free: 34.66 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001856/0.5878, allocations: 0.7761 MB / 1.112 GB, free: 34.34 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.003191/0.591, allocations: 1.616 MB / 1.114 GB, free: 33.74 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001609/0.5926, allocations: 1.268 MB / 1.115 GB, free: 33.19 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005042/0.5931, allocations: 351.5 kB / 1.116 GB, free: 33.05 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001101/0.5942, allocations: 0.7535 MB / 1.116 GB, free: 32.77 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004198/0.5946, allocations: 363.4 kB / 1.117 GB, free: 32.7 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 6.326e-05/0.5947, allocations: 44.41 kB / 1.117 GB, free: 32.7 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002303/0.597, allocations: 1.29 MB / 1.118 GB, free: 32.29 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001816/0.5972, allocations: 198.2 kB / 1.118 GB, free: 32.19 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002025/0.5974, allocations: 212.4 kB / 1.118 GB, free: 32.11 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001794/0.5992, allocations: 1.328 MB / 1.12 GB, free: 31.67 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.5992, allocations: 4 kB / 1.12 GB, free: 31.66 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.703e-06/0.5992, allocations: 0 / 1.12 GB, free: 31.66 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 9.598e-06/0.5992, allocations: 0.9688 kB / 1.12 GB, free: 31.66 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001186/0.6004, allocations: 0.9522 MB / 1.121 GB, free: 30.98 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/0.6004, allocations: 14 kB / 1.121 GB, free: 30.98 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.567e-05/0.6005, allocations: 82.45 kB / 1.121 GB, free: 30.91 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001136/0.6016, allocations: 292.9 kB / 1.121 GB, free: 30.85 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005216/0.6022, allocations: 403.7 kB / 1.121 GB, free: 30.59 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.658e-05/0.6022, allocations: 36.89 kB / 1.121 GB, free: 30.57 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.201e-05/0.6022, allocations: 44.77 kB / 1.121 GB, free: 30.55 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007142/0.603, allocations: 0.5522 MB / 1.122 GB, free: 30.3 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.603, allocations: 4 kB / 1.122 GB, free: 30.29 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.926e-05/0.603, allocations: 18 kB / 1.122 GB, free: 30.28 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/0.603, allocations: 10.44 kB / 1.122 GB, free: 30.28 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006211/0.6036, allocations: 453.7 kB / 1.122 GB, free: 30.15 MB / 0.9948 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001578/0.6052, allocations: 1.779 MB / 1.124 GB, free: 28.89 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006261/0.6058, allocations: 382.9 kB / 1.124 GB, free: 28.77 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002945/0.6061, allocations: 213.8 kB / 1.125 GB, free: 28.71 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003139/0.6064, allocations: 93.22 kB / 1.125 GB, free: 28.7 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004254/0.6069, allocations: 303.5 kB / 1.125 GB, free: 28.59 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=37): time 2.495e-06/0.6069, allocations: 3.984 kB / 1.125 GB, free: 28.58 MB / 0.9948 GB Notification: Performance of matching and sorting (n=37): time 0.001121/0.608, allocations: 0.6889 MB / 1.126 GB, free: 28.36 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.856e-05/0.608, allocations: 58.77 kB / 1.126 GB, free: 28.3 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004/0.6084, allocations: 499 kB / 1.126 GB, free: 28.07 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 2.951e-05/0.6084, allocations: 33.98 kB / 1.126 GB, free: 28.04 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.6086, allocations: 264.4 kB / 1.127 GB, free: 27.82 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 6.438e-05/0.6086, allocations: 131.9 kB / 1.127 GB, free: 27.72 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.6087, allocations: 94.17 kB / 1.127 GB, free: 27.67 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 5.754e-05/0.6088, allocations: 362.4 kB / 1.127 GB, free: 27.34 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003181/0.6091, allocations: 255.4 kB / 1.127 GB, free: 27.22 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003702/0.6095, allocations: 0.4888 MB / 1.128 GB, free: 26.83 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006156/0.6101, allocations: 0.5471 MB / 1.128 GB, free: 26.52 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.6101, allocations: 0 / 1.128 GB, free: 26.52 MB / 0.9948 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0008168/0.6109, allocations: 0.712 MB / 1.129 GB, free: 26.17 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 4.422e-05/0.611, allocations: 66.3 kB / 1.129 GB, free: 26.11 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.611, allocations: 3.156 kB / 1.129 GB, free: 26.11 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.611, allocations: 5.375 kB / 1.129 GB, free: 26.11 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002785/0.6113, allocations: 99.16 kB / 1.129 GB, free: 26.09 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.929e-05/0.6113, allocations: 12.16 kB / 1.129 GB, free: 26.09 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003312/0.6116, allocations: 84.73 kB / 1.129 GB, free: 26.05 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.852e-05/0.6117, allocations: 21.62 kB / 1.129 GB, free: 26.05 MB / 0.9948 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.000161/0.6118, allocations: 189.2 kB / 1.129 GB, free: 25.89 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.878e-05/0.6119, allocations: 62.38 kB / 1.13 GB, free: 25.86 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007714/0.6126, allocations: 0.5374 MB / 1.13 GB, free: 25.66 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.201e-06/0.6126, allocations: 4.422 kB / 1.13 GB, free: 25.66 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.6126, allocations: 0 / 1.13 GB, free: 25.66 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.6127, allocations: 3.344 kB / 1.13 GB, free: 25.66 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001516/0.6142, allocations: 1.269 MB / 1.131 GB, free: 24.98 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.6142, allocations: 3.062 kB / 1.131 GB, free: 24.98 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002242/0.6144, allocations: 80.17 kB / 1.131 GB, free: 24.96 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.892e-06/0.6144, allocations: 5.531 kB / 1.131 GB, free: 24.96 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.362e-05/0.6144, allocations: 15.64 kB / 1.131 GB, free: 24.96 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/0.6144, allocations: 5.531 kB / 1.131 GB, free: 24.96 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.6144, allocations: 5.047 kB / 1.131 GB, free: 24.96 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001063/0.6155, allocations: 0.9381 MB / 1.132 GB, free: 24.47 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001619/0.6157, allocations: 101.2 kB / 1.132 GB, free: 24.41 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.95e-05/0.6157, allocations: 15.17 kB / 1.132 GB, free: 24.41 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002224/0.6159, allocations: 42.47 kB / 1.133 GB, free: 24.39 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.609e-05/0.616, allocations: 46.84 kB / 1.133 GB, free: 24.38 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.298e-05/0.6161, allocations: 17.45 kB / 1.133 GB, free: 24.38 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0003015/0.6164, allocations: 351.5 kB / 1.133 GB, free: 24.22 MB / 0.9948 GB Notification: Performance of sort global known variables: time 8e-08/0.6164, allocations: 0 / 1.133 GB, free: 24.22 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0004902/0.6168, allocations: 151.7 kB / 1.133 GB, free: 24.2 MB / 0.9948 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.00142/0.6183, allocations: 1.56 MB / 1.135 GB, free: 23.16 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0008568/0.6191, allocations: 0.618 MB / 1.135 GB, free: 22.84 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/0.6191, allocations: 5.062 kB / 1.135 GB, free: 22.84 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.000438/0.6196, allocations: 281.9 kB / 1.135 GB, free: 22.75 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009793/0.6205, allocations: 289.2 kB / 1.136 GB, free: 22.67 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005629/0.6262, allocations: 5.187 MB / 1.141 GB, free: 19.55 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000242/0.6264, allocations: 268.9 kB / 1.141 GB, free: 19.45 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0004887/0.6269, allocations: 130 kB / 1.141 GB, free: 19.42 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002069/0.6271, allocations: 176.6 kB / 1.141 GB, free: 19.29 MB / 0.9948 GB Notification: Performance of SimCode: time 1.142e-06/0.6271, allocations: 0 / 1.141 GB, free: 19.29 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03459/0.6617, allocations: 17.73 MB / 1.159 GB, free: 16.95 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.636/8.298, allocations: 3.688 kB / 1.159 GB, free: 16.95 MB / 0.9948 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.fmu > Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 12.402381232008338]