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.001492/0.001492, 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.001638/0.001638, allocations: 214.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.297/1.297, allocations: 230.6 MB / 256 MB, free: 8.023 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.823/2.823, allocations: 0.49 GB / 0.7951 GB, free: 33.39 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.001862/0.001862, allocations: 74.3 kB / 1.154 GB, free: 25.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2842/0.286, allocations: 176.1 MB / 1.326 GB, free: 1.957 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.1923/0.4784, allocations: 180.4 MB / 1.502 GB, free: 12.93 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01502/0.4934, allocations: 11.2 MB / 1.513 GB, free: 1.688 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001019/0.4944, allocations: 39.69 kB / 1.513 GB, free: 1.648 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001128/0.4955, allocations: 440.6 kB / 1.513 GB, free: 1.215 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002944/0.4985, allocations: 1.13 MB / 1.515 GB, free: 84 kB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.004/0.5025, allocations: 1.794 MB / 1.516 GB, free: 14.29 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.002903/0.5054, allocations: 2.4 MB / 1.519 GB, free: 11.89 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001674/0.507, allocations: 1.14 MB / 1.52 GB, free: 10.7 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003607/0.5107, allocations: 1.494 MB / 1.521 GB, free: 9.223 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001152/0.5118, allocations: 0.8324 MB / 1.522 GB, free: 8.387 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0002232/0.512, allocations: 160 kB / 1.522 GB, free: 8.23 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002681/0.5147, allocations: 1.509 MB / 1.524 GB, free: 6.719 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0004184/0.5151, allocations: 458.6 kB / 1.524 GB, free: 6.27 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0007912/0.5159, allocations: 0.793 MB / 1.525 GB, free: 5.473 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.00362/0.5195, allocations: 2.643 MB / 1.527 GB, free: 2.82 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.5195, allocations: 3.984 kB / 1.527 GB, free: 2.816 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.412e-06/0.5195, allocations: 4 kB / 1.527 GB, free: 2.812 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.991e-05/0.5196, allocations: 0 / 1.527 GB, free: 2.812 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.003311/0.5229, allocations: 1.895 MB / 1.529 GB, free: 0.8711 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.5229, allocations: 8.031 kB / 1.529 GB, free: 0.8633 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002075/0.5231, allocations: 173.4 kB / 1.529 GB, free: 0.6836 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002556/0.5257, allocations: 402.7 kB / 1.53 GB, free: 296 kB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001698/0.5274, allocations: 0.9319 MB / 1.531 GB, free: 15.32 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.967e-05/0.5274, allocations: 90.31 kB / 1.531 GB, free: 15.23 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001625/0.5276, allocations: 115.9 kB / 1.531 GB, free: 15.12 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002178/0.5298, allocations: 1.298 MB / 1.532 GB, free: 13.75 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.175e-05/0.5298, allocations: 0 / 1.532 GB, free: 13.75 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001144/0.5299, allocations: 52 kB / 1.532 GB, free: 13.7 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.509e-05/0.53, allocations: 32 kB / 1.532 GB, free: 13.67 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002355/0.5323, allocations: 1.453 MB / 1.534 GB, free: 12.21 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.006163/0.5385, allocations: 4.027 MB / 1.538 GB, free: 7.973 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002109/0.5406, allocations: 1.087 MB / 1.539 GB, free: 6.875 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007368/0.5413, allocations: 411.6 kB / 1.539 GB, free: 6.473 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005837/0.5419, allocations: 121 kB / 1.539 GB, free: 6.355 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001136/0.543, allocations: 0.6684 MB / 1.54 GB, free: 5.664 MB / 1.232 GB Notification: Performance of pre-optimization done (n=106): time 2.465e-06/0.543, allocations: 0 / 1.54 GB, free: 5.664 MB / 1.232 GB Notification: Performance of matching and sorting (n=106): time 0.003916/0.547, allocations: 1.531 MB / 1.541 GB, free: 4.129 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001192/0.5471, allocations: 192.9 kB / 1.542 GB, free: 3.895 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001159/0.5482, allocations: 0.9112 MB / 1.542 GB, free: 2.961 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 9.335e-05/0.5483, allocations: 53.64 kB / 1.542 GB, free: 2.902 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004488/0.5488, allocations: 0.5324 MB / 1.543 GB, free: 2.363 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003024/0.5491, allocations: 364.9 kB / 1.543 GB, free: 2.004 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002961/0.5494, allocations: 198.5 kB / 1.544 GB, free: 1.805 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.5495, allocations: 345.9 kB / 1.544 GB, free: 1.461 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007076/0.5502, allocations: 357.8 kB / 1.544 GB, free: 1.113 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000854/0.5511, allocations: 0.501 MB / 1.545 GB, free: 0.5742 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001545/0.5526, allocations: 0.8446 MB / 1.546 GB, free: 15.71 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.5526, allocations: 0 / 1.546 GB, free: 15.71 MB / 1.248 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002448/0.5551, allocations: 1.126 MB / 1.547 GB, free: 14.57 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 1.887e-05/0.5551, allocations: 9.719 kB / 1.547 GB, free: 14.56 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.5551, allocations: 0 / 1.547 GB, free: 14.56 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006061/0.5557, allocations: 84.86 kB / 1.547 GB, free: 14.48 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000921/0.5566, allocations: 219.7 kB / 1.547 GB, free: 14.26 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00207/0.5587, allocations: 1.557 MB / 1.548 GB, free: 12.59 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008344/0.5595, allocations: 130.3 kB / 1.549 GB, free: 12.47 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.888e-05/0.5596, allocations: 35.98 kB / 1.549 GB, free: 12.43 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.0005238/0.5601, allocations: 329.6 kB / 1.549 GB, free: 12.1 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00022/0.5604, allocations: 127.2 kB / 1.549 GB, free: 11.98 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002996/0.5634, allocations: 1.509 MB / 1.551 GB, free: 10.44 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.141e-05/0.5634, allocations: 16 kB / 1.551 GB, free: 10.43 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.5634, allocations: 0 / 1.551 GB, free: 10.43 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.316e-05/0.5634, allocations: 7.922 kB / 1.551 GB, free: 10.42 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.004712/0.5681, allocations: 2.752 MB / 1.553 GB, free: 7.586 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.5681, allocations: 4 kB / 1.553 GB, free: 7.582 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008589/0.569, allocations: 199.7 kB / 1.553 GB, free: 7.387 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004348/0.5694, allocations: 80.91 kB / 1.553 GB, free: 7.305 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.288e-05/0.5695, allocations: 31.98 kB / 1.554 GB, free: 7.273 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001874/0.5713, allocations: 1.57 MB / 1.555 GB, free: 5.586 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.5713, allocations: 0 / 1.555 GB, free: 5.586 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003429/0.5748, allocations: 1.867 MB / 1.557 GB, free: 3.684 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005873/0.5754, allocations: 274.8 kB / 1.557 GB, free: 3.414 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001627/0.5755, allocations: 31.89 kB / 1.557 GB, free: 3.383 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008328/0.5764, allocations: 80.09 kB / 1.557 GB, free: 3.305 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001624/0.5765, allocations: 96.75 kB / 1.557 GB, free: 3.211 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.813e-05/0.5766, allocations: 51.97 kB / 1.557 GB, free: 3.16 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.000872/0.5775, allocations: 0.6384 MB / 1.558 GB, free: 2.512 MB / 1.248 GB Notification: Performance of sort global known variables: time 9e-08/0.5775, allocations: 0 / 1.558 GB, free: 2.512 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.001078/0.5786, allocations: 466.9 kB / 1.558 GB, free: 2.055 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.005632/0.5842, allocations: 3.017 MB / 1.561 GB, free: 15.17 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.002088/0.5863, allocations: 1.03 MB / 1.562 GB, free: 14.13 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.5863, allocations: 4 kB / 1.562 GB, free: 14.12 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.001128/0.5874, allocations: 0.6294 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.002013/0.5894, allocations: 0.5089 MB / 1.564 GB, free: 13 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0141/0.6035, allocations: 8.9 MB / 1.572 GB, free: 3.898 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008244/0.6044, allocations: 1.173 MB / 1.573 GB, free: 2.695 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.001121/0.6055, allocations: 369.8 kB / 1.574 GB, free: 2.332 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000782/0.6063, allocations: 0.5422 MB / 1.574 GB, free: 1.789 MB / 1.264 GB Notification: Performance of SimCode: time 7.61e-07/0.6063, allocations: 0 / 1.574 GB, free: 1.789 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6018/1.208, allocations: 34.41 MB / 1.608 GB, free: 280 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.5/14.71, allocations: 3.75 kB / 1.608 GB, free: 280 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: 22.383887109999705]