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.001351/0.001351, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001552/0.001552, allocations: 218 kB / 22.26 MB, free: 5.125 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.282/1.282, allocations: 230.6 MB / 256 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 179] 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 2.867/2.867, allocations: 0.505 GB / 0.8101 GB, free: 22.02 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside,fileNamePrefix="Buildings_latest_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.001842/0.001842, allocations: 64.59 kB / 1.177 GB, free: 16.98 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2914/0.2933, allocations: 180.2 MB / 1.353 GB, free: 8.453 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.1913/0.4846, allocations: 180.4 MB / 1.529 GB, free: 3.422 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.01585/0.5005, allocations: 11.19 MB / 1.54 GB, free: 8.195 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001231/0.5017, allocations: 43.62 kB / 1.54 GB, free: 8.152 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.001223/0.5029, allocations: 436.6 kB / 1.54 GB, free: 7.723 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.003121/0.506, allocations: 1.144 MB / 1.541 GB, free: 6.578 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.004366/0.5104, allocations: 1.789 MB / 1.543 GB, free: 4.793 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.003111/0.5135, allocations: 2.408 MB / 1.546 GB, free: 2.375 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001682/0.5152, allocations: 1.132 MB / 1.547 GB, free: 1.203 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003596/0.5188, allocations: 1.492 MB / 1.548 GB, free: 15.73 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001136/0.5199, allocations: 0.8247 MB / 1.549 GB, free: 14.9 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0002228/0.5201, allocations: 163.9 kB / 1.549 GB, free: 14.74 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00284/0.523, allocations: 1.509 MB / 1.551 GB, free: 13.23 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.0004604/0.5234, allocations: 462.6 kB / 1.551 GB, free: 12.77 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.0008474/0.5243, allocations: 0.7891 MB / 1.552 GB, free: 11.98 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.003872/0.5282, allocations: 2.651 MB / 1.554 GB, free: 9.32 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.5282, allocations: 0 / 1.554 GB, free: 9.32 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.603e-06/0.5282, allocations: 0 / 1.554 GB, free: 9.32 MB / 1.248 GB Notification: Performance of Transformations before backend: time 2.462e-05/0.5282, allocations: 0 / 1.554 GB, free: 9.32 MB / 1.248 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.003561/0.5318, allocations: 1.895 MB / 1.556 GB, free: 7.379 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.5318, allocations: 8.031 kB / 1.556 GB, free: 7.371 MB / 1.248 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002187/0.532, allocations: 185.4 kB / 1.556 GB, free: 7.18 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002553/0.5346, allocations: 410.6 kB / 1.557 GB, free: 6.777 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001695/0.5363, allocations: 0.9162 MB / 1.558 GB, free: 5.832 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.356e-05/0.5363, allocations: 86.33 kB / 1.558 GB, free: 5.746 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001692/0.5365, allocations: 124 kB / 1.558 GB, free: 5.625 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002205/0.5387, allocations: 1.302 MB / 1.559 GB, free: 4.258 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.213e-05/0.5387, allocations: 0 / 1.559 GB, free: 4.258 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000105/0.5388, allocations: 48 kB / 1.559 GB, free: 4.211 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.379e-05/0.5389, allocations: 28 kB / 1.559 GB, free: 4.184 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002378/0.5412, allocations: 1.449 MB / 1.561 GB, free: 2.727 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 preOpt removeSimpleEquations (simulation): time 0.006551/0.5478, allocations: 4.046 MB / 1.565 GB, free: 14.46 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002077/0.5499, allocations: 1.073 MB / 1.566 GB, free: 13.39 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007384/0.5506, allocations: 419.6 kB / 1.566 GB, free: 12.97 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005706/0.5512, allocations: 109 kB / 1.566 GB, free: 12.87 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001153/0.5523, allocations: 0.6645 MB / 1.567 GB, free: 12.19 MB / 1.264 GB Notification: Performance of pre-optimization done (n=106): time 2.835e-06/0.5523, allocations: 0 / 1.567 GB, free: 12.19 MB / 1.264 GB Notification: Performance of matching and sorting (n=106): time 0.003955/0.5563, allocations: 1.543 MB / 1.568 GB, free: 10.63 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001182/0.5564, allocations: 200.9 kB / 1.569 GB, free: 10.39 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00122/0.5576, allocations: 0.9034 MB / 1.569 GB, free: 9.469 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 9.288e-05/0.5577, allocations: 49.7 kB / 1.569 GB, free: 9.414 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004759/0.5582, allocations: 0.5285 MB / 1.57 GB, free: 8.879 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003157/0.5585, allocations: 372.8 kB / 1.57 GB, free: 8.512 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002934/0.5588, allocations: 190.6 kB / 1.57 GB, free: 8.32 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.559, allocations: 345.9 kB / 1.571 GB, free: 7.977 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007182/0.5597, allocations: 361.8 kB / 1.571 GB, free: 7.621 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008449/0.5605, allocations: 0.5049 MB / 1.572 GB, free: 7.082 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001524/0.562, allocations: 0.8446 MB / 1.572 GB, free: 6.219 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.562, allocations: 0 / 1.572 GB, free: 6.219 MB / 1.264 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.00251/0.5646, allocations: 1.126 MB / 1.574 GB, free: 5.086 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.5646, allocations: 7.938 kB / 1.574 GB, free: 5.078 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.5646, allocations: 4 kB / 1.574 GB, free: 5.074 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000584/0.5652, allocations: 84.86 kB / 1.574 GB, free: 4.988 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009105/0.5661, allocations: 223.7 kB / 1.574 GB, free: 4.77 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002086/0.5682, allocations: 1.548 MB / 1.575 GB, free: 3.098 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008561/0.569, allocations: 119.3 kB / 1.576 GB, free: 2.98 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.342e-05/0.5691, allocations: 43.97 kB / 1.576 GB, free: 2.938 MB / 1.264 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.0005579/0.5697, allocations: 329.6 kB / 1.576 GB, free: 2.605 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002189/0.5699, allocations: 131.2 kB / 1.576 GB, free: 2.477 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00297/0.5729, allocations: 1.494 MB / 1.577 GB, free: 0.957 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-05/0.5729, allocations: 12 kB / 1.577 GB, free: 0.9453 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.5729, allocations: 0 / 1.577 GB, free: 0.9453 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.548e-05/0.5729, allocations: 11.91 kB / 1.577 GB, free: 0.9336 MB / 1.264 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.004659/0.5775, allocations: 2.755 MB / 1.58 GB, free: 14.1 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.937e-06/0.5775, allocations: 11.94 kB / 1.58 GB, free: 14.09 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008419/0.5784, allocations: 199.7 kB / 1.58 GB, free: 13.89 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004166/0.5788, allocations: 76.97 kB / 1.58 GB, free: 13.81 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.366e-05/0.5789, allocations: 39.91 kB / 1.58 GB, free: 13.77 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001854/0.5807, allocations: 1.574 MB / 1.582 GB, free: 12.08 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.5807, allocations: 0 / 1.582 GB, free: 12.08 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003368/0.5841, allocations: 1.867 MB / 1.584 GB, free: 10.18 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005888/0.5847, allocations: 278.8 kB / 1.584 GB, free: 9.902 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001657/0.5849, allocations: 31.92 kB / 1.584 GB, free: 9.871 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000806/0.5857, allocations: 78.03 kB / 1.584 GB, free: 9.797 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001665/0.5858, allocations: 92.72 kB / 1.584 GB, free: 9.707 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.684e-05/0.5859, allocations: 47.97 kB / 1.584 GB, free: 9.66 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.0008673/0.5868, allocations: 0.6462 MB / 1.585 GB, free: 9.004 MB / 1.279 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5868, allocations: 4 kB / 1.585 GB, free: 9 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.001113/0.5879, allocations: 458.9 kB / 1.585 GB, free: 8.551 MB / 1.279 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.005556/0.5935, allocations: 3.009 MB / 1.588 GB, free: 5.676 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.002054/0.5955, allocations: 1.027 MB / 1.589 GB, free: 4.637 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.5955, allocations: 8.062 kB / 1.589 GB, free: 4.629 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.001106/0.5966, allocations: 0.6211 MB / 1.59 GB, free: 3.996 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001983/0.5986, allocations: 0.5403 MB / 1.591 GB, free: 3.477 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01394/0.6125, allocations: 8.88 MB / 1.599 GB, free: 10.4 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007969/0.6133, allocations: 1.162 MB / 1.6 GB, free: 9.203 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001084/0.6144, allocations: 377.8 kB / 1.601 GB, free: 8.832 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007503/0.6152, allocations: 0.5382 MB / 1.601 GB, free: 8.293 MB / 1.295 GB Notification: Performance of SimCode: time 5.71e-07/0.6152, allocations: 0 / 1.601 GB, free: 8.293 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5873/1.202, allocations: 34.39 MB / 1.635 GB, free: 249.5 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.58/14.78, allocations: 4.938 kB / 1.635 GB, free: 249.5 MB / 1.295 GB " [Timeout remaining time 285] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_res.csv --start-time 0 --stop-time 3.1536e+07 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 12614.4 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.csv","/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] "" 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: 22.575210259000414]