Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001708/0.001708, allocations: 107.6 kB / 18.95 MB, free: 2.805 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.002085/0.002085, allocations: 213.1 kB / 22.24 MB, free: 5.117 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.541/1.541, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.781/2.781, allocations: 476 MB / 0.7699 GB, free: 4.719 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.Sources.Examples.Outside,fileNamePrefix="Buildings_11_Buildings_Fluid_Sources_Examples_Outside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside,fileNamePrefix="Buildings_11_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.002101/0.002101, allocations: 69.94 kB / 1.117 GB, free: 41.15 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3081/0.3102, allocations: 170 MB / 1.283 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.2069/0.5171, allocations: 155.8 MB / 1.435 GB, free: 88 kB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.01696/0.534, allocations: 10.31 MB / 1.445 GB, free: 5.746 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001153/0.5352, allocations: 39.69 kB / 1.445 GB, free: 5.707 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001342/0.5365, allocations: 424.6 kB / 1.445 GB, free: 5.289 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.003521/0.5401, allocations: 1.136 MB / 1.446 GB, free: 4.152 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.004825/0.5449, allocations: 1.747 MB / 1.448 GB, free: 2.41 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.003461/0.5483, allocations: 2.404 MB / 1.45 GB, free: 15.99 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002053/0.5504, allocations: 1.108 MB / 1.451 GB, free: 14.85 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003886/0.5543, allocations: 1.333 MB / 1.453 GB, free: 13.53 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001288/0.5556, allocations: 0.7622 MB / 1.454 GB, free: 12.77 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0002875/0.5559, allocations: 160 kB / 1.454 GB, free: 12.61 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002954/0.5588, allocations: 1.275 MB / 1.455 GB, free: 11.33 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0005548/0.5594, allocations: 462.5 kB / 1.455 GB, free: 10.88 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.000889/0.5603, allocations: 0.6454 MB / 1.456 GB, free: 10.23 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.004262/0.5645, allocations: 2.635 MB / 1.459 GB, free: 7.586 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.5645, allocations: 0 / 1.459 GB, free: 7.586 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.013e-06/0.5645, allocations: 0 / 1.459 GB, free: 7.586 MB / 1.154 GB Notification: Performance of Transformations before backend: time 4.525e-05/0.5646, allocations: 0 / 1.459 GB, free: 7.586 MB / 1.154 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.003818/0.5684, allocations: 1.883 MB / 1.46 GB, free: 5.656 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.5684, allocations: 12.03 kB / 1.46 GB, free: 5.645 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002334/0.5687, allocations: 181.3 kB / 1.461 GB, free: 5.457 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002702/0.5714, allocations: 406.6 kB / 1.461 GB, free: 5.059 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00197/0.5733, allocations: 0.9279 MB / 1.462 GB, free: 4.102 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.148e-05/0.5734, allocations: 90.31 kB / 1.462 GB, free: 4.012 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001839/0.5736, allocations: 112 kB / 1.462 GB, free: 3.902 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00275/0.5764, allocations: 1.679 MB / 1.464 GB, free: 2.066 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.811e-05/0.5764, allocations: 0 / 1.464 GB, free: 2.066 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001248/0.5765, allocations: 48 kB / 1.464 GB, free: 2.02 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.834e-05/0.5766, allocations: 28 kB / 1.464 GB, free: 1.992 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002608/0.5792, allocations: 1.406 MB / 1.465 GB, free: 0.5781 MB / 1.154 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.006474/0.5856, allocations: 3.153 MB / 1.468 GB, free: 13.35 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002283/0.5879, allocations: 1.071 MB / 1.469 GB, free: 12.27 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008256/0.5887, allocations: 424.7 kB / 1.47 GB, free: 11.86 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006099/0.5894, allocations: 113.1 kB / 1.47 GB, free: 11.75 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001405/0.5908, allocations: 0.8826 MB / 1.471 GB, free: 10.79 MB / 1.17 GB Notification: Performance of pre-optimization done (n=106): time 2.715e-06/0.5908, allocations: 0 / 1.471 GB, free: 10.79 MB / 1.17 GB Notification: Performance of matching and sorting (n=106): time 0.004289/0.595, allocations: 1.539 MB / 1.472 GB, free: 9.242 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001377/0.5952, allocations: 196.9 kB / 1.472 GB, free: 9.008 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001373/0.5966, allocations: 0.9073 MB / 1.473 GB, free: 8.078 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0001113/0.5967, allocations: 57.64 kB / 1.473 GB, free: 8.016 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005448/0.5972, allocations: 0.5324 MB / 1.474 GB, free: 7.477 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.000357/0.5976, allocations: 372.8 kB / 1.474 GB, free: 7.109 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003272/0.5979, allocations: 190.6 kB / 1.474 GB, free: 6.918 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001878/0.5981, allocations: 349.9 kB / 1.475 GB, free: 6.57 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007902/0.5989, allocations: 357.8 kB / 1.475 GB, free: 6.219 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001053/0.5999, allocations: 0.6806 MB / 1.476 GB, free: 5.461 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001703/0.6016, allocations: 0.8445 MB / 1.476 GB, free: 4.598 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.6016, allocations: 0 / 1.476 GB, free: 4.598 MB / 1.17 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002794/0.6044, allocations: 1.122 MB / 1.478 GB, free: 3.465 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.6045, allocations: 4 kB / 1.478 GB, free: 3.461 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.6045, allocations: 4 kB / 1.478 GB, free: 3.457 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006338/0.6051, allocations: 88.8 kB / 1.478 GB, free: 3.367 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001008/0.6061, allocations: 219.7 kB / 1.478 GB, free: 3.152 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002362/0.6085, allocations: 1.535 MB / 1.479 GB, free: 1.492 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001083/0.6096, allocations: 127.3 kB / 1.48 GB, free: 1.367 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001066/0.6097, allocations: 43.97 kB / 1.48 GB, free: 1.324 MB / 1.17 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.0006609/0.6103, allocations: 321.5 kB / 1.48 GB, free: 1 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002938/0.6106, allocations: 123.2 kB / 1.48 GB, free: 0.8789 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003387/0.614, allocations: 1.505 MB / 1.481 GB, free: 15.36 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.652e-05/0.614, allocations: 12 kB / 1.481 GB, free: 15.34 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.614, allocations: 0 / 1.481 GB, free: 15.34 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.832e-05/0.614, allocations: 11.91 kB / 1.481 GB, free: 15.33 MB / 1.186 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.005935/0.62, allocations: 2.526 MB / 1.484 GB, free: 12.74 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.255e-06/0.62, allocations: 192 / 1.484 GB, free: 12.74 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009495/0.6209, allocations: 207.7 kB / 1.484 GB, free: 12.54 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004679/0.6214, allocations: 68.78 kB / 1.484 GB, free: 12.46 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.432e-05/0.6215, allocations: 35.92 kB / 1.484 GB, free: 12.43 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002228/0.6237, allocations: 1.578 MB / 1.486 GB, free: 10.73 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.6237, allocations: 80 / 1.486 GB, free: 10.73 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004056/0.6278, allocations: 1.878 MB / 1.488 GB, free: 8.816 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009289/0.6287, allocations: 274.8 kB / 1.488 GB, free: 8.547 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000225/0.6289, allocations: 24 kB / 1.488 GB, free: 8.523 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009339/0.6299, allocations: 77.64 kB / 1.488 GB, free: 8.449 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002269/0.6301, allocations: 100.7 kB / 1.488 GB, free: 8.352 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001259/0.6302, allocations: 47.97 kB / 1.488 GB, free: 8.305 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001094/0.6313, allocations: 0.6423 MB / 1.489 GB, free: 7.652 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6313, allocations: 0 / 1.489 GB, free: 7.652 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001376/0.6327, allocations: 458.9 kB / 1.489 GB, free: 7.203 MB / 1.186 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.006743/0.6394, allocations: 3.063 MB / 1.492 GB, free: 4.297 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.002603/0.642, allocations: 1.027 MB / 1.493 GB, free: 3.262 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 1.354e-05/0.642, allocations: 4 kB / 1.493 GB, free: 3.258 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001513/0.6436, allocations: 0.6255 MB / 1.494 GB, free: 2.621 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00279/0.6463, allocations: 0.5256 MB / 1.494 GB, free: 2.117 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01761/0.6639, allocations: 8.876 MB / 1.503 GB, free: 9.047 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007534/0.6647, allocations: 0.581 MB / 1.504 GB, free: 8.426 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001405/0.6661, allocations: 377.8 kB / 1.504 GB, free: 8.055 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008914/0.667, allocations: 0.5383 MB / 1.504 GB, free: 7.516 MB / 1.201 GB Notification: Performance of SimCode: time 1.292e-06/0.667, allocations: 0 / 1.504 GB, free: 7.516 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08717/0.7542, allocations: 36.19 MB / 1.54 GB, free: 3.863 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.37/15.13, allocations: 5.094 kB / 1.54 GB, free: 3.859 MB / 1.232 GB " [Timeout remaining time 284] (rm -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Examples.Outside.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sources.Examples.Outside_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sources_Examples_Outside_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=12614.4 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sources_Examples_Outside.fmu > Buildings_11_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Examples.Outside_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sources_Examples_Outside.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 22.60592659190297]