Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.0018/0.0018, allocations: 105.6 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.002119/0.002119, allocations: 187.7 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.474/1.474, allocations: 225.6 MB / 247.8 MB, free: 3.734 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.647/2.647, allocations: 443.5 MB / 0.7287 GB, free: 14.51 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="Buildings_10_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002059/0.002059, allocations: 71.89 kB / 1.056 GB, free: 2.461 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3277/0.3297, allocations: 160.7 MB / 1.213 GB, free: 1.43 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.8638/1.194, allocations: 182.4 MB / 1.391 GB, free: 476 kB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.007595/1.201, allocations: 4.446 MB / 1.395 GB, free: 12.86 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008626/1.202, allocations: 23.75 kB / 1.395 GB, free: 12.84 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.000819/1.203, allocations: 262.2 kB / 1.396 GB, free: 12.61 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002256/1.205, allocations: 0.7861 MB / 1.396 GB, free: 12 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.004149/1.209, allocations: 1.553 MB / 1.398 GB, free: 10.87 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.00221/1.211, allocations: 1.26 MB / 1.399 GB, free: 10.14 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008163/1.212, allocations: 394.6 kB / 1.4 GB, free: 9.883 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001349/1.214, allocations: 0.5855 MB / 1.4 GB, free: 9.547 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006539/1.214, allocations: 426.8 kB / 1.401 GB, free: 9.289 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 9.24e-05/1.214, allocations: 45.66 kB / 1.401 GB, free: 9.289 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003584/1.218, allocations: 1.649 MB / 1.402 GB, free: 8.328 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0003479/1.218, allocations: 191.1 kB / 1.402 GB, free: 8.195 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0004951/1.219, allocations: 313.1 kB / 1.403 GB, free: 7.996 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002704/1.221, allocations: 1.3 MB / 1.404 GB, free: 7.219 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/1.222, allocations: 4 kB / 1.404 GB, free: 7.215 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.003e-06/1.222, allocations: 0 / 1.404 GB, free: 7.215 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.094e-05/1.222, allocations: 4 kB / 1.404 GB, free: 7.211 MB / 1.076 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.001931/1.223, allocations: 1.03 MB / 1.405 GB, free: 6.352 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/1.223, allocations: 13.58 kB / 1.405 GB, free: 6.348 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001136/1.224, allocations: 80.84 kB / 1.405 GB, free: 6.273 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002152/1.226, allocations: 286.5 kB / 1.405 GB, free: 6.145 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001064/1.227, allocations: 479.4 kB / 1.406 GB, free: 5.742 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.709e-05/1.227, allocations: 34.75 kB / 1.406 GB, free: 5.727 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001029/1.227, allocations: 41.47 kB / 1.406 GB, free: 5.715 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001181/1.228, allocations: 0.5504 MB / 1.406 GB, free: 5.348 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.823e-05/1.228, allocations: 4.438 kB / 1.406 GB, free: 5.348 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.895e-05/1.228, allocations: 19.48 kB / 1.406 GB, free: 5.332 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.86e-05/1.228, allocations: 15.09 kB / 1.406 GB, free: 5.328 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001021/1.229, allocations: 456 kB / 1.407 GB, free: 5.117 MB / 1.076 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.002875/1.232, allocations: 2.124 MB / 1.409 GB, free: 3.262 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009935/1.233, allocations: 392.5 kB / 1.409 GB, free: 3.062 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004951/1.234, allocations: 218.6 kB / 1.41 GB, free: 2.953 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007612/1.234, allocations: 396.5 kB / 1.41 GB, free: 2.547 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005952/1.235, allocations: 293.5 kB / 1.41 GB, free: 2.363 MB / 1.076 GB Notification: Performance of pre-optimization done (n=37): time 3.226e-06/1.235, allocations: 3.938 kB / 1.41 GB, free: 2.359 MB / 1.076 GB Notification: Performance of matching and sorting (n=37): time 0.001757/1.237, allocations: 0.6924 MB / 1.411 GB, free: 2.023 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.046e-05/1.237, allocations: 55 kB / 1.411 GB, free: 1.961 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005776/1.237, allocations: 496 kB / 1.411 GB, free: 1.664 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 5.307e-05/1.237, allocations: 38.11 kB / 1.411 GB, free: 1.625 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002182/1.238, allocations: 258.9 kB / 1.412 GB, free: 1.395 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001222/1.238, allocations: 133.7 kB / 1.412 GB, free: 1.281 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001555/1.238, allocations: 90.95 kB / 1.412 GB, free: 1.223 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001766/1.238, allocations: 363.8 kB / 1.412 GB, free: 0.8711 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004629/1.239, allocations: 195.6 kB / 1.412 GB, free: 0.7812 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005551/1.239, allocations: 316 kB / 1.413 GB, free: 0.5664 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001035/1.24, allocations: 0.5454 MB / 1.413 GB, free: 188 kB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/1.24, allocations: 4 kB / 1.413 GB, free: 184 kB / 1.076 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001283/1.241, allocations: 0.6529 MB / 1.414 GB, free: 15.81 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 5.976e-05/1.241, allocations: 61.38 kB / 1.414 GB, free: 15.75 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/1.242, allocations: 2.531 kB / 1.414 GB, free: 15.75 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/1.242, allocations: 9.406 kB / 1.414 GB, free: 15.74 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004454/1.242, allocations: 98.59 kB / 1.414 GB, free: 15.71 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.858e-06/1.242, allocations: 5.031 kB / 1.414 GB, free: 15.71 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005638/1.243, allocations: 87.48 kB / 1.414 GB, free: 15.66 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.095e-05/1.243, allocations: 23.73 kB / 1.414 GB, free: 15.65 MB / 1.092 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.0002524/1.243, allocations: 188.8 kB / 1.414 GB, free: 15.49 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.992e-05/1.243, allocations: 61.2 kB / 1.414 GB, free: 15.46 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001169/1.244, allocations: 0.5402 MB / 1.415 GB, free: 15.16 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.678e-06/1.244, allocations: 2.75 kB / 1.415 GB, free: 15.16 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/1.244, allocations: 0 / 1.415 GB, free: 15.16 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/1.244, allocations: 0 / 1.415 GB, free: 15.16 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002327/1.246, allocations: 1.351 MB / 1.416 GB, free: 14.18 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.994e-06/1.246, allocations: 6.656 kB / 1.416 GB, free: 14.18 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004037/1.247, allocations: 73.27 kB / 1.416 GB, free: 14.16 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.244e-06/1.247, allocations: 5.062 kB / 1.416 GB, free: 14.16 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.634e-05/1.247, allocations: 16.08 kB / 1.416 GB, free: 14.15 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.854e-06/1.247, allocations: 12.59 kB / 1.416 GB, free: 14.14 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/1.247, allocations: 5.312 kB / 1.416 GB, free: 14.14 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001673/1.249, allocations: 0.9295 MB / 1.417 GB, free: 13.53 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000298/1.249, allocations: 179.6 kB / 1.417 GB, free: 13.36 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.691e-05/1.249, allocations: 15.67 kB / 1.417 GB, free: 13.36 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004491/1.249, allocations: 37.61 kB / 1.418 GB, free: 13.34 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001198/1.25, allocations: 52.27 kB / 1.418 GB, free: 13.3 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.452e-05/1.25, allocations: 16.95 kB / 1.418 GB, free: 13.3 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0004125/1.25, allocations: 345.1 kB / 1.418 GB, free: 13.1 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.1e-07/1.25, allocations: 3.938 kB / 1.418 GB, free: 13.09 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0005875/1.251, allocations: 152.1 kB / 1.418 GB, free: 13.07 MB / 1.092 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.002354/1.253, allocations: 1.579 MB / 1.42 GB, free: 11.87 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001183/1.254, allocations: 0.5702 MB / 1.42 GB, free: 11.53 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/1.254, allocations: 4.062 kB / 1.42 GB, free: 11.52 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0006329/1.255, allocations: 273 kB / 1.42 GB, free: 11.4 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001466/1.256, allocations: 288.4 kB / 1.421 GB, free: 11.26 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007901/1.264, allocations: 5.016 MB / 1.426 GB, free: 6.82 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005135/1.265, allocations: 0.8665 MB / 1.426 GB, free: 5.926 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0005521/1.265, allocations: 132.6 kB / 1.427 GB, free: 5.793 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002998/1.265, allocations: 179.4 kB / 1.427 GB, free: 5.617 MB / 1.092 GB Notification: Performance of SimCode: time 8.82e-07/1.265, allocations: 0 / 1.427 GB, free: 5.617 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04771/1.313, allocations: 15.94 MB / 1.442 GB, free: 5.969 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.279/10.59, allocations: 6.359 kB / 1.442 GB, free: 5.965 MB / 1.107 GB " [Timeout remaining time 289] (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.fmu > Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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.768192190211266]