Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.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.001275/0.001275, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001417/0.001417, allocations: 220.3 kB / 23.03 MB, free: 4.941 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.368/1.368, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] 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 3.048/3.048, allocations: 0.5003 GB / 0.8062 GB, free: 28.34 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.Sources.Examples.Outside,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside",fmuType="cs",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.001918/0.001918, allocations: 61.31 kB / 1.17 GB, free: 19.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2982/0.3001, allocations: 179 MB / 1.345 GB, free: 15.98 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.1834/0.4835, allocations: 155.7 MB / 1.497 GB, free: 3.676 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01627/0.4998, allocations: 10.29 MB / 1.507 GB, free: 9.352 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001199/0.501, allocations: 43.62 kB / 1.507 GB, free: 9.309 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001469/0.5024, allocations: 428.7 kB / 1.508 GB, free: 8.887 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.00369/0.5061, allocations: 1.137 MB / 1.509 GB, free: 7.75 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.004721/0.5109, allocations: 1.746 MB / 1.511 GB, free: 6.008 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.00331/0.5142, allocations: 2.4 MB / 1.513 GB, free: 3.598 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002137/0.5163, allocations: 1.132 MB / 1.514 GB, free: 2.426 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004834/0.5211, allocations: 1.488 MB / 1.516 GB, free: 0.9531 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001747/0.5229, allocations: 0.8344 MB / 1.516 GB, free: 120 kB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0006829/0.5236, allocations: 156 kB / 1.517 GB, free: 15.96 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003151/0.5267, allocations: 1.291 MB / 1.518 GB, free: 14.67 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0008516/0.5276, allocations: 462.6 kB / 1.518 GB, free: 14.22 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.001184/0.5288, allocations: 0.6454 MB / 1.519 GB, free: 13.57 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.004646/0.5334, allocations: 2.631 MB / 1.521 GB, free: 10.93 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.5334, allocations: 0 / 1.521 GB, free: 10.93 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.623e-06/0.5334, allocations: 0 / 1.521 GB, free: 10.93 MB / 1.217 GB Notification: Performance of Transformations before backend: time 7.417e-05/0.5335, allocations: 4 kB / 1.521 GB, free: 10.93 MB / 1.217 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.004329/0.5378, allocations: 1.883 MB / 1.523 GB, free: 9 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.5379, allocations: 12.03 kB / 1.523 GB, free: 8.988 MB / 1.217 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.077e-05/0.5379, allocations: 30.33 kB / 1.523 GB, free: 8.957 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003088/0.5382, allocations: 181.3 kB / 1.523 GB, free: 8.77 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002948/0.5412, allocations: 410.6 kB / 1.524 GB, free: 8.367 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002111/0.5433, allocations: 0.9201 MB / 1.525 GB, free: 7.414 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000103/0.5434, allocations: 86.33 kB / 1.525 GB, free: 7.328 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002811/0.5437, allocations: 120 kB / 1.525 GB, free: 7.211 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003106/0.5468, allocations: 1.675 MB / 1.527 GB, free: 5.379 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.973e-05/0.5468, allocations: 7.938 kB / 1.527 GB, free: 5.371 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000175/0.547, allocations: 48 kB / 1.527 GB, free: 5.324 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.523e-05/0.547, allocations: 28 kB / 1.527 GB, free: 5.297 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00289/0.5499, allocations: 1.449 MB / 1.528 GB, free: 3.84 MB / 1.217 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.007091/0.557, allocations: 3.146 MB / 1.531 GB, free: 0.625 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002387/0.5594, allocations: 1.075 MB / 1.532 GB, free: 15.54 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008352/0.5602, allocations: 417.1 kB / 1.533 GB, free: 15.14 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006578/0.5609, allocations: 116.8 kB / 1.533 GB, free: 15.02 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001437/0.5623, allocations: 0.8865 MB / 1.534 GB, free: 14.06 MB / 1.232 GB Notification: Performance of pre-optimization done (n=106): time 3.406e-06/0.5623, allocations: 0 / 1.534 GB, free: 14.06 MB / 1.232 GB Notification: Performance of matching and sorting (n=106): time 0.004516/0.5668, allocations: 1.535 MB / 1.535 GB, free: 12.52 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001335/0.567, allocations: 196.9 kB / 1.535 GB, free: 12.28 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001506/0.5685, allocations: 0.9034 MB / 1.536 GB, free: 11.36 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0001645/0.5686, allocations: 53.69 kB / 1.536 GB, free: 11.3 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005308/0.5692, allocations: 0.5285 MB / 1.537 GB, free: 10.76 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003867/0.5695, allocations: 368.9 kB / 1.537 GB, free: 10.4 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003721/0.5699, allocations: 194.6 kB / 1.537 GB, free: 10.2 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.5701, allocations: 345.9 kB / 1.538 GB, free: 9.859 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007898/0.5709, allocations: 365.8 kB / 1.538 GB, free: 9.504 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001071/0.5719, allocations: 0.6689 MB / 1.539 GB, free: 8.754 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001709/0.5736, allocations: 0.8523 MB / 1.539 GB, free: 7.887 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/0.5736, allocations: 0 / 1.539 GB, free: 7.887 MB / 1.232 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002837/0.5765, allocations: 1.118 MB / 1.541 GB, free: 6.754 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.507e-05/0.5765, allocations: 8 kB / 1.541 GB, free: 6.746 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.5765, allocations: 0 / 1.541 GB, free: 6.746 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006764/0.5772, allocations: 88.86 kB / 1.541 GB, free: 6.656 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001072/0.5783, allocations: 219.6 kB / 1.541 GB, free: 6.441 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002285/0.5805, allocations: 1.55 MB / 1.542 GB, free: 4.77 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001115/0.5817, allocations: 123.2 kB / 1.542 GB, free: 4.648 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001477/0.5818, allocations: 43.97 kB / 1.543 GB, free: 4.605 MB / 1.232 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (120): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000689/0.5825, allocations: 321.5 kB / 1.543 GB, free: 4.281 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003441/0.5828, allocations: 131.3 kB / 1.543 GB, free: 4.152 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003445/0.5863, allocations: 1.498 MB / 1.544 GB, free: 2.633 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.376e-05/0.5863, allocations: 12 kB / 1.544 GB, free: 2.621 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.5863, allocations: 3.984 kB / 1.544 GB, free: 2.617 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.799e-05/0.5863, allocations: 7.922 kB / 1.544 GB, free: 2.609 MB / 1.232 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 postOpt removeSimpleEquations (simulation): time 0.005677/0.592, allocations: 2.526 MB / 1.547 GB, free: 12 kB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.019e-05/0.592, allocations: 4 kB / 1.547 GB, free: 8 kB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00102/0.593, allocations: 199.7 kB / 1.547 GB, free: 15.81 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000479/0.5935, allocations: 80.95 kB / 1.547 GB, free: 15.73 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001308/0.5936, allocations: 35.97 kB / 1.547 GB, free: 15.7 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002177/0.5958, allocations: 1.551 MB / 1.549 GB, free: 14.03 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.092e-06/0.5958, allocations: 4 kB / 1.549 GB, free: 14.02 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004192/0.6, allocations: 1.874 MB / 1.551 GB, free: 12.11 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007737/0.6008, allocations: 286.8 kB / 1.551 GB, free: 11.83 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003075/0.6011, allocations: 27.94 kB / 1.551 GB, free: 11.8 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001072/0.6022, allocations: 78.09 kB / 1.551 GB, free: 11.73 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002463/0.6024, allocations: 92.77 kB / 1.551 GB, free: 11.64 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001421/0.6026, allocations: 47.97 kB / 1.551 GB, free: 11.59 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001178/0.6037, allocations: 0.6462 MB / 1.552 GB, free: 10.94 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6037, allocations: 4 kB / 1.552 GB, free: 10.93 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.001566/0.6053, allocations: 462.9 kB / 1.552 GB, free: 10.48 MB / 1.248 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (senTem.T,senRelHum.phi,senMasFra.X) * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (114): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006898/0.6122, allocations: 3.045 MB / 1.555 GB, free: 7.59 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.002627/0.6148, allocations: 1.03 MB / 1.556 GB, free: 6.547 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 9.348e-06/0.6148, allocations: 8.312 kB / 1.556 GB, free: 6.539 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.001413/0.6163, allocations: 0.6211 MB / 1.557 GB, free: 5.906 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002834/0.6191, allocations: 0.5248 MB / 1.557 GB, free: 5.406 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01818/0.6373, allocations: 8.88 MB / 1.566 GB, free: 12.32 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008822/0.6382, allocations: 0.5753 MB / 1.566 GB, free: 11.71 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.001432/0.6396, allocations: 373.9 kB / 1.567 GB, free: 11.35 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009945/0.6406, allocations: 0.5383 MB / 1.567 GB, free: 10.81 MB / 1.264 GB Notification: Performance of SimCode: time 1.373e-06/0.6406, allocations: 0 / 1.567 GB, free: 10.81 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08227/0.7229, allocations: 35.96 MB / 1.602 GB, free: 7.367 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.28/16, allocations: 13.7 kB / 1.602 GB, free: 7.355 MB / 1.295 GB " [Timeout remaining time 284] (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=12614.4 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Examples_Outside.fmu > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.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: 23.20272064593155]