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.001407/0.001407, allocations: 111 kB / 16.46 MB, free: 6.453 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.001411/0.001411, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.398/1.398, allocations: 230.6 MB / 252.8 MB, free: 8.973 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.057/3.057, allocations: 0.49 GB / 0.7916 GB, free: 33.34 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.00204/0.00204, allocations: 68.23 kB / 1.149 GB, free: 26.31 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.313/0.315, allocations: 176.1 MB / 1.321 GB, free: 3.316 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.2058/0.5208, allocations: 180.1 MB / 1.497 GB, free: 14.55 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01667/0.5375, allocations: 11.04 MB / 1.507 GB, free: 3.473 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001312/0.5388, allocations: 47.62 kB / 1.507 GB, free: 3.426 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001592/0.5404, allocations: 428.6 kB / 1.508 GB, free: 3.004 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.003755/0.5441, allocations: 1.131 MB / 1.509 GB, free: 1.871 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.004577/0.5487, allocations: 1.746 MB / 1.511 GB, free: 136 kB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.003725/0.5524, allocations: 2.385 MB / 1.513 GB, free: 13.74 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002102/0.5545, allocations: 1.158 MB / 1.514 GB, free: 12.54 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004098/0.5586, allocations: 1.469 MB / 1.516 GB, free: 11.09 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001319/0.5599, allocations: 0.8247 MB / 1.516 GB, free: 10.26 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0003356/0.5603, allocations: 156 kB / 1.517 GB, free: 10.11 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003058/0.5633, allocations: 1.493 MB / 1.518 GB, free: 8.609 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0005991/0.5639, allocations: 466.5 kB / 1.518 GB, free: 8.152 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.001002/0.5649, allocations: 0.7891 MB / 1.519 GB, free: 7.359 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.004543/0.5695, allocations: 2.643 MB / 1.522 GB, free: 4.707 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.5695, allocations: 0 / 1.522 GB, free: 4.707 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.383e-06/0.5695, allocations: 0 / 1.522 GB, free: 4.707 MB / 1.217 GB Notification: Performance of Transformations before backend: time 3.787e-05/0.5695, allocations: 0 / 1.522 GB, free: 4.707 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.003783/0.5733, allocations: 1.97 MB / 1.524 GB, free: 2.672 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.5733, allocations: 15.92 kB / 1.524 GB, free: 2.656 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002255/0.5736, allocations: 177.4 kB / 1.524 GB, free: 2.473 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002755/0.5763, allocations: 406.6 kB / 1.524 GB, free: 2.074 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001724/0.5781, allocations: 1.012 MB / 1.525 GB, free: 1.02 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.161e-05/0.5781, allocations: 86.33 kB / 1.525 GB, free: 0.9336 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000173/0.5783, allocations: 119.9 kB / 1.525 GB, free: 0.8164 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002316/0.5806, allocations: 1.298 MB / 1.527 GB, free: 15.45 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.143e-05/0.5806, allocations: 0 / 1.527 GB, free: 15.45 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001197/0.5808, allocations: 48 kB / 1.527 GB, free: 15.41 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.56e-05/0.5808, allocations: 32 kB / 1.527 GB, free: 15.38 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002562/0.5834, allocations: 1.453 MB / 1.528 GB, free: 13.91 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.006468/0.5898, allocations: 4.093 MB / 1.532 GB, free: 9.602 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002332/0.5922, allocations: 1.16 MB / 1.533 GB, free: 8.414 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007951/0.5929, allocations: 422 kB / 1.534 GB, free: 8 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007733/0.5937, allocations: 421.5 kB / 1.534 GB, free: 7.516 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00124/0.595, allocations: 0.6606 MB / 1.535 GB, free: 6.836 MB / 1.232 GB Notification: Performance of pre-optimization done (n=106): time 2.786e-06/0.595, allocations: 0 / 1.535 GB, free: 6.836 MB / 1.232 GB Notification: Performance of matching and sorting (n=106): time 0.004264/0.5992, allocations: 1.618 MB / 1.536 GB, free: 5.191 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001236/0.5994, allocations: 200.9 kB / 1.537 GB, free: 4.953 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001314/0.6007, allocations: 0.9034 MB / 1.537 GB, free: 4.027 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.000101/0.6008, allocations: 49.7 kB / 1.538 GB, free: 3.973 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.000499/0.6013, allocations: 0.5285 MB / 1.538 GB, free: 3.438 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003589/0.6016, allocations: 368.9 kB / 1.538 GB, free: 3.074 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000329/0.602, allocations: 194.6 kB / 1.539 GB, free: 2.879 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001652/0.6021, allocations: 345.9 kB / 1.539 GB, free: 2.535 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007659/0.6029, allocations: 361.8 kB / 1.539 GB, free: 2.18 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009041/0.6038, allocations: 0.5049 MB / 1.54 GB, free: 1.641 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001632/0.6054, allocations: 0.8407 MB / 1.541 GB, free: 0.7812 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.6054, allocations: 0 / 1.541 GB, free: 0.7812 MB / 1.232 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002644/0.6081, allocations: 1.118 MB / 1.542 GB, free: 15.65 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.509e-05/0.6081, allocations: 12.16 kB / 1.542 GB, free: 15.64 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.6081, allocations: 0 / 1.542 GB, free: 15.64 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006241/0.6087, allocations: 88.7 kB / 1.542 GB, free: 15.55 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009609/0.6097, allocations: 223.7 kB / 1.542 GB, free: 15.33 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002331/0.612, allocations: 1.648 MB / 1.544 GB, free: 13.54 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009267/0.6129, allocations: 127.1 kB / 1.544 GB, free: 13.41 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.266e-05/0.613, allocations: 47.91 kB / 1.544 GB, free: 13.36 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.00056/0.6136, allocations: 329.5 kB / 1.544 GB, free: 13.03 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002546/0.6139, allocations: 127.2 kB / 1.544 GB, free: 12.91 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003226/0.6171, allocations: 1.502 MB / 1.546 GB, free: 11.38 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.69e-05/0.6171, allocations: 12 kB / 1.546 GB, free: 11.37 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.6171, allocations: 0 / 1.546 GB, free: 11.37 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.554e-05/0.6171, allocations: 11.91 kB / 1.546 GB, free: 11.36 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.005088/0.6222, allocations: 2.855 MB / 1.548 GB, free: 8.398 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.128e-05/0.6222, allocations: 4 kB / 1.548 GB, free: 8.395 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009004/0.6231, allocations: 203.9 kB / 1.549 GB, free: 8.195 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004493/0.6236, allocations: 72.78 kB / 1.549 GB, free: 8.121 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.738e-05/0.6237, allocations: 35.97 kB / 1.549 GB, free: 8.086 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002038/0.6257, allocations: 1.681 MB / 1.55 GB, free: 6.262 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.6257, allocations: 4 kB / 1.55 GB, free: 6.258 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003757/0.6294, allocations: 1.874 MB / 1.552 GB, free: 4.344 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006104/0.6301, allocations: 347.9 kB / 1.553 GB, free: 3.984 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001966/0.6303, allocations: 27.95 kB / 1.553 GB, free: 3.957 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009256/0.6312, allocations: 71.92 kB / 1.553 GB, free: 3.887 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000191/0.6314, allocations: 96.75 kB / 1.553 GB, free: 3.793 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001021/0.6315, allocations: 47.97 kB / 1.553 GB, free: 3.746 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0009881/0.6325, allocations: 0.6501 MB / 1.553 GB, free: 3.086 MB / 1.248 GB Notification: Performance of sort global known variables: time 9e-08/0.6325, allocations: 0 / 1.553 GB, free: 3.086 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.001222/0.6337, allocations: 462.9 kB / 1.554 GB, free: 2.633 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.006102/0.6398, allocations: 3.021 MB / 1.557 GB, free: 15.74 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.002299/0.6421, allocations: 1.026 MB / 1.558 GB, free: 14.71 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.6421, allocations: 0 / 1.558 GB, free: 14.71 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.001249/0.6433, allocations: 0.6255 MB / 1.558 GB, free: 14.07 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002342/0.6457, allocations: 0.5191 MB / 1.559 GB, free: 13.57 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01566/0.6613, allocations: 8.89 MB / 1.568 GB, free: 4.488 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009343/0.6623, allocations: 1.166 MB / 1.569 GB, free: 3.289 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.001272/0.6635, allocations: 365.9 kB / 1.569 GB, free: 2.93 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008577/0.6644, allocations: 0.5383 MB / 1.57 GB, free: 2.391 MB / 1.264 GB Notification: Performance of SimCode: time 7.41e-07/0.6644, allocations: 0 / 1.57 GB, free: 2.391 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08493/0.7493, allocations: 33.66 MB / 1.603 GB, free: 1.082 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.94/14.69, allocations: 3.938 kB / 1.603 GB, free: 1.078 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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.Sources.Examples.Outside_res.csv --start-time 0 --stop-time 3.1536e+07 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 12614.4 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.csv","/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] "" Variables in the reference:time,senTem.T,senMasFra.X,senRelHum.phi Variables in the result:time,senMasFra.X,senRelHum.phi,senTem.T [Calling sys.exit(0), Time elapsed: 23.382268590852618]