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.00155/0.00155, allocations: 103.4 kB / 16.45 MB, free: 6.449 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.001736/0.001736, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.38/1.38, allocations: 230.6 MB / 252.8 MB, free: 9.141 MB / 206.1 MB " [Timeout remaining time 178] 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 3.026/3.026, allocations: 0.49 GB / 0.7916 GB, free: 33.58 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.002095/0.002095, allocations: 65.88 kB / 1.149 GB, free: 26.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3202/0.3223, allocations: 176.1 MB / 1.321 GB, free: 3.363 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.1966/0.5189, allocations: 180.1 MB / 1.497 GB, free: 14.59 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01579/0.5347, allocations: 11.03 MB / 1.507 GB, free: 3.52 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001283/0.536, allocations: 43.62 kB / 1.507 GB, free: 3.477 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001469/0.5374, allocations: 436.5 kB / 1.508 GB, free: 3.047 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.003524/0.541, allocations: 1.134 MB / 1.509 GB, free: 1.914 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.004259/0.5452, allocations: 1.742 MB / 1.511 GB, free: 180 kB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002977/0.5482, allocations: 2.385 MB / 1.513 GB, free: 13.79 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001733/0.5499, allocations: 1.158 MB / 1.514 GB, free: 12.59 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003596/0.5535, allocations: 1.465 MB / 1.516 GB, free: 11.14 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001089/0.5546, allocations: 0.8246 MB / 1.516 GB, free: 10.31 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.000254/0.5549, allocations: 164 kB / 1.517 GB, free: 10.15 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002801/0.5577, allocations: 1.486 MB / 1.518 GB, free: 8.66 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0004525/0.5581, allocations: 466.5 kB / 1.518 GB, free: 8.203 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0009271/0.559, allocations: 0.7891 MB / 1.519 GB, free: 7.41 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.0039/0.5629, allocations: 2.643 MB / 1.522 GB, free: 4.758 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.5629, allocations: 0 / 1.522 GB, free: 4.758 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.643e-06/0.5629, allocations: 0 / 1.522 GB, free: 4.758 MB / 1.217 GB Notification: Performance of Transformations before backend: time 2.563e-05/0.563, allocations: 0 / 1.522 GB, free: 4.758 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.003515/0.5665, allocations: 1.97 MB / 1.524 GB, free: 2.723 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.5665, allocations: 19.97 kB / 1.524 GB, free: 2.703 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002235/0.5668, allocations: 177.4 kB / 1.524 GB, free: 2.52 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00267/0.5694, allocations: 402.7 kB / 1.524 GB, free: 2.125 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001752/0.5712, allocations: 1.008 MB / 1.525 GB, free: 1.074 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.473e-05/0.5713, allocations: 90.33 kB / 1.525 GB, free: 0.9844 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001751/0.5714, allocations: 116 kB / 1.525 GB, free: 0.8711 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002306/0.5737, allocations: 1.298 MB / 1.527 GB, free: 15.5 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.057e-05/0.5738, allocations: 0 / 1.527 GB, free: 15.5 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001226/0.5739, allocations: 52 kB / 1.527 GB, free: 15.45 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.896e-05/0.5739, allocations: 31.98 kB / 1.527 GB, free: 15.42 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002525/0.5764, allocations: 1.453 MB / 1.528 GB, free: 13.96 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.006355/0.5828, allocations: 4.097 MB / 1.532 GB, free: 9.645 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002298/0.5851, allocations: 1.16 MB / 1.533 GB, free: 8.457 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007774/0.5859, allocations: 413.3 kB / 1.534 GB, free: 8.051 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000771/0.5866, allocations: 429.5 kB / 1.534 GB, free: 7.559 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001193/0.5878, allocations: 0.6605 MB / 1.535 GB, free: 6.883 MB / 1.232 GB Notification: Performance of pre-optimization done (n=106): time 2.594e-06/0.5878, allocations: 0 / 1.535 GB, free: 6.883 MB / 1.232 GB Notification: Performance of matching and sorting (n=106): time 0.004218/0.5921, allocations: 1.618 MB / 1.536 GB, free: 5.234 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001271/0.5922, allocations: 196.9 kB / 1.537 GB, free: 5 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001268/0.5934, allocations: 0.9073 MB / 1.537 GB, free: 4.07 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0001054/0.5936, allocations: 49.7 kB / 1.538 GB, free: 4.016 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004747/0.594, allocations: 0.5362 MB / 1.538 GB, free: 3.473 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003262/0.5944, allocations: 368.9 kB / 1.538 GB, free: 3.109 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003354/0.5947, allocations: 194.5 kB / 1.539 GB, free: 2.914 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001727/0.5949, allocations: 345.9 kB / 1.539 GB, free: 2.57 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007436/0.5956, allocations: 357.8 kB / 1.539 GB, free: 2.219 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009032/0.5965, allocations: 0.501 MB / 1.54 GB, free: 1.684 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001644/0.5982, allocations: 0.8445 MB / 1.541 GB, free: 0.8203 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.5982, allocations: 0 / 1.541 GB, free: 0.8203 MB / 1.232 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002655/0.6008, allocations: 1.126 MB / 1.542 GB, free: 15.69 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.6008, allocations: 8 kB / 1.542 GB, free: 15.68 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.6008, allocations: 0 / 1.542 GB, free: 15.68 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006148/0.6015, allocations: 84.86 kB / 1.542 GB, free: 15.59 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009858/0.6024, allocations: 219.7 kB / 1.542 GB, free: 15.38 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002262/0.6047, allocations: 1.643 MB / 1.544 GB, free: 13.59 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009927/0.6057, allocations: 134.4 kB / 1.544 GB, free: 13.46 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001053/0.6058, allocations: 40.06 kB / 1.544 GB, free: 13.42 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.0006728/0.6065, allocations: 333.7 kB / 1.544 GB, free: 13.08 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003371/0.6068, allocations: 131.2 kB / 1.544 GB, free: 12.95 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003328/0.6101, allocations: 1.502 MB / 1.546 GB, free: 11.43 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.059e-05/0.6102, allocations: 8 kB / 1.546 GB, free: 11.42 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.6102, allocations: 8 kB / 1.546 GB, free: 11.41 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.689e-05/0.6102, allocations: 11.92 kB / 1.546 GB, free: 11.4 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.005334/0.6155, allocations: 2.863 MB / 1.548 GB, free: 8.43 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.082e-06/0.6155, allocations: 0 / 1.548 GB, free: 8.43 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009036/0.6164, allocations: 199.8 kB / 1.549 GB, free: 8.234 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004513/0.6169, allocations: 80.75 kB / 1.549 GB, free: 8.152 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.845e-05/0.617, allocations: 31.98 kB / 1.549 GB, free: 8.121 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002084/0.6191, allocations: 1.678 MB / 1.55 GB, free: 6.301 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.6191, allocations: 64 / 1.55 GB, free: 6.301 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003827/0.6229, allocations: 1.874 MB / 1.552 GB, free: 4.387 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006399/0.6235, allocations: 355.9 kB / 1.553 GB, free: 4.02 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002106/0.6237, allocations: 27.95 kB / 1.553 GB, free: 3.992 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009348/0.6247, allocations: 71.86 kB / 1.553 GB, free: 3.922 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002014/0.6249, allocations: 92.81 kB / 1.553 GB, free: 3.832 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001108/0.625, allocations: 51.97 kB / 1.553 GB, free: 3.781 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001023/0.626, allocations: 0.6423 MB / 1.553 GB, free: 3.129 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.41e-07/0.626, allocations: 4 kB / 1.553 GB, free: 3.125 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.001317/0.6273, allocations: 458.9 kB / 1.554 GB, free: 2.676 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.006266/0.6336, allocations: 3.007 MB / 1.557 GB, free: 15.8 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.002449/0.636, allocations: 1.034 MB / 1.558 GB, free: 14.76 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 7.875e-06/0.636, allocations: 4 kB / 1.558 GB, free: 14.75 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.001306/0.6373, allocations: 0.6255 MB / 1.558 GB, free: 14.12 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002576/0.6399, allocations: 0.5253 MB / 1.559 GB, free: 13.61 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01564/0.6556, allocations: 8.889 MB / 1.568 GB, free: 4.531 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009432/0.6565, allocations: 1.17 MB / 1.569 GB, free: 3.328 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.001245/0.6578, allocations: 373.8 kB / 1.569 GB, free: 2.961 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008213/0.6586, allocations: 0.5344 MB / 1.57 GB, free: 2.426 MB / 1.264 GB Notification: Performance of SimCode: time 9.12e-07/0.6586, allocations: 8 kB / 1.57 GB, free: 2.418 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0811/0.7397, allocations: 33.64 MB / 1.603 GB, free: 1.121 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.62/14.36, allocations: 3.938 kB / 1.603 GB, free: 1.117 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.83754231990315]