Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001429/0.001429, allocations: 114.3 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.00157/0.00157, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.327/1.327, allocations: 230.6 MB / 256 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.882/2.882, allocations: 0.49 GB / 0.7951 GB, free: 33.52 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.Sources.Examples.Outside,fileNamePrefix="Buildings_12_Buildings_Fluid_Sources_Examples_Outside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside,fileNamePrefix="Buildings_12_Buildings_Fluid_Sources_Examples_Outside",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.001864/0.001864, allocations: 73.34 kB / 1.154 GB, free: 25.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2932/0.2951, allocations: 176.1 MB / 1.326 GB, free: 1.93 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.2034/0.4985, allocations: 180.3 MB / 1.502 GB, free: 12.9 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01627/0.5148, allocations: 11.2 MB / 1.513 GB, free: 1.672 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001268/0.5161, allocations: 39.69 kB / 1.513 GB, free: 1.633 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001398/0.5175, allocations: 440.6 kB / 1.513 GB, free: 1.199 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.003319/0.5208, allocations: 1.134 MB / 1.515 GB, free: 64 kB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.004394/0.5252, allocations: 1.789 MB / 1.516 GB, free: 14.27 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.003198/0.5284, allocations: 2.404 MB / 1.519 GB, free: 11.86 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001977/0.5303, allocations: 1.132 MB / 1.52 GB, free: 10.69 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003904/0.5342, allocations: 1.507 MB / 1.521 GB, free: 9.199 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001385/0.5356, allocations: 0.8324 MB / 1.522 GB, free: 8.363 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0004019/0.536, allocations: 156 kB / 1.522 GB, free: 8.211 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00291/0.5389, allocations: 1.509 MB / 1.524 GB, free: 6.699 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.000609/0.5395, allocations: 462.6 kB / 1.524 GB, free: 6.246 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.001156/0.5407, allocations: 0.793 MB / 1.525 GB, free: 5.449 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.004238/0.5449, allocations: 2.643 MB / 1.527 GB, free: 2.801 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.5449, allocations: 3.984 kB / 1.527 GB, free: 2.797 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.222e-06/0.545, allocations: 0 / 1.527 GB, free: 2.797 MB / 1.217 GB Notification: Performance of Transformations before backend: time 7.28e-05/0.545, allocations: 4 kB / 1.527 GB, free: 2.793 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.004068/0.5491, allocations: 1.891 MB / 1.529 GB, free: 0.8555 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.5491, allocations: 8.031 kB / 1.529 GB, free: 0.8477 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002094/0.5493, allocations: 177.4 kB / 1.529 GB, free: 0.6641 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002621/0.552, allocations: 398.7 kB / 1.53 GB, free: 280 kB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001677/0.5536, allocations: 0.9357 MB / 1.531 GB, free: 15.3 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.733e-05/0.5537, allocations: 90.31 kB / 1.531 GB, free: 15.21 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001602/0.5539, allocations: 112 kB / 1.531 GB, free: 15.1 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002119/0.556, allocations: 1.294 MB / 1.532 GB, free: 13.74 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.272e-05/0.556, allocations: 4 kB / 1.532 GB, free: 13.74 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001108/0.5561, allocations: 52 kB / 1.532 GB, free: 13.69 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.319e-05/0.5562, allocations: 28 kB / 1.532 GB, free: 13.66 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002359/0.5585, allocations: 1.449 MB / 1.534 GB, free: 12.2 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 preOpt removeSimpleEquations (simulation): time 0.005931/0.5644, allocations: 4.035 MB / 1.538 GB, free: 7.957 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002061/0.5665, allocations: 1.082 MB / 1.539 GB, free: 6.867 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007831/0.5673, allocations: 412.6 kB / 1.539 GB, free: 6.465 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00057/0.5679, allocations: 125 kB / 1.539 GB, free: 6.344 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001105/0.569, allocations: 0.6723 MB / 1.54 GB, free: 5.652 MB / 1.232 GB Notification: Performance of pre-optimization done (n=106): time 2.094e-06/0.569, allocations: 0 / 1.54 GB, free: 5.652 MB / 1.232 GB Notification: Performance of matching and sorting (n=106): time 0.003803/0.5728, allocations: 1.535 MB / 1.541 GB, free: 4.113 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000111/0.5729, allocations: 192.9 kB / 1.542 GB, free: 3.879 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00113/0.574, allocations: 0.919 MB / 1.542 GB, free: 2.938 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 7.866e-05/0.5741, allocations: 45.7 kB / 1.542 GB, free: 2.887 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004181/0.5745, allocations: 0.5246 MB / 1.543 GB, free: 2.355 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002858/0.5748, allocations: 364.9 kB / 1.543 GB, free: 1.996 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002883/0.5751, allocations: 198.5 kB / 1.544 GB, free: 1.797 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.5752, allocations: 349.8 kB / 1.544 GB, free: 1.449 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006948/0.5759, allocations: 365.7 kB / 1.544 GB, free: 1.094 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008319/0.5768, allocations: 0.4971 MB / 1.545 GB, free: 0.5547 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001582/0.5783, allocations: 0.8485 MB / 1.546 GB, free: 15.69 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.5783, allocations: 0 / 1.546 GB, free: 15.69 MB / 1.248 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002382/0.5807, allocations: 1.122 MB / 1.547 GB, free: 14.55 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.5807, allocations: 8 kB / 1.547 GB, free: 14.55 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.5807, allocations: 0 / 1.547 GB, free: 14.55 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005816/0.5813, allocations: 88.86 kB / 1.547 GB, free: 14.46 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009249/0.5822, allocations: 215.7 kB / 1.547 GB, free: 14.25 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002003/0.5843, allocations: 1.55 MB / 1.548 GB, free: 12.58 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007703/0.585, allocations: 131.2 kB / 1.549 GB, free: 12.45 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.139e-05/0.5851, allocations: 39.98 kB / 1.549 GB, free: 12.41 MB / 1.248 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.0004568/0.5856, allocations: 325.5 kB / 1.549 GB, free: 12.09 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001983/0.5858, allocations: 123.2 kB / 1.549 GB, free: 11.96 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003012/0.5888, allocations: 1.509 MB / 1.551 GB, free: 10.43 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.019e-05/0.5888, allocations: 12 kB / 1.551 GB, free: 10.42 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.5888, allocations: 0 / 1.551 GB, free: 10.42 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.392e-05/0.5888, allocations: 7.922 kB / 1.551 GB, free: 10.41 MB / 1.248 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.004621/0.5934, allocations: 2.759 MB / 1.553 GB, free: 7.566 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.5934, allocations: 0 / 1.553 GB, free: 7.566 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008561/0.5943, allocations: 195.8 kB / 1.553 GB, free: 7.375 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004153/0.5947, allocations: 76.97 kB / 1.553 GB, free: 7.297 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-05/0.5948, allocations: 35.92 kB / 1.554 GB, free: 7.262 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001845/0.5966, allocations: 1.574 MB / 1.555 GB, free: 5.57 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.5966, allocations: 0 / 1.555 GB, free: 5.57 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003342/0.6, allocations: 1.871 MB / 1.557 GB, free: 3.664 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005334/0.6005, allocations: 274.9 kB / 1.557 GB, free: 3.395 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001567/0.6006, allocations: 35.88 kB / 1.557 GB, free: 3.359 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008201/0.6015, allocations: 75.92 kB / 1.557 GB, free: 3.285 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001701/0.6016, allocations: 96.7 kB / 1.557 GB, free: 3.191 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.532e-05/0.6017, allocations: 51.97 kB / 1.557 GB, free: 3.141 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0008235/0.6026, allocations: 0.6423 MB / 1.558 GB, free: 2.488 MB / 1.248 GB Notification: Performance of sort global known variables: time 1e-07/0.6026, allocations: 0 / 1.558 GB, free: 2.488 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.001035/0.6036, allocations: 458.9 kB / 1.558 GB, free: 2.039 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.005586/0.6092, allocations: 3.018 MB / 1.561 GB, free: 15.16 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.001975/0.6111, allocations: 1.026 MB / 1.562 GB, free: 14.12 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.6112, allocations: 0 / 1.562 GB, free: 14.12 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.001131/0.6123, allocations: 0.6256 MB / 1.563 GB, free: 13.48 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00192/0.6142, allocations: 0.5248 MB / 1.564 GB, free: 12.97 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0137/0.6279, allocations: 8.895 MB / 1.572 GB, free: 3.883 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007826/0.6287, allocations: 1.168 MB / 1.573 GB, free: 2.688 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.001034/0.6297, allocations: 377.8 kB / 1.574 GB, free: 2.316 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007467/0.6305, allocations: 0.5383 MB / 1.574 GB, free: 1.777 MB / 1.264 GB Notification: Performance of SimCode: time 4.41e-07/0.6305, allocations: 0 / 1.574 GB, free: 1.777 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5984/1.229, allocations: 34.41 MB / 1.608 GB, free: 280.3 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.9/15.13, allocations: 4.781 kB / 1.608 GB, free: 280.3 MB / 1.295 GB " [Timeout remaining time 285] (rm -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Examples.Outside.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Sources.Examples.Outside_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Sources_Examples_Outside_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=12614.4 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Sources_Examples_Outside.fmu > Buildings_12_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Examples.Outside_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Examples_Outside.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 21.751344403019175]