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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001934/0.001934, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002033/0.002033, allocations: 193.9 kB / 16.53 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.806/2.806, allocations: 469.8 MB / 0.7424 GB, free: 7.457 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00193/0.00193, allocations: 67.12 kB / 0.9087 GB, free: 34.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2512/0.2531, allocations: 159.2 MB / 1.064 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.1997/0.4529, allocations: 176.5 MB / 1.236 GB, free: 13.06 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01518/0.4681, allocations: 10.9 MB / 1.247 GB, free: 2.121 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005491/0.4686, allocations: 31.81 kB / 1.247 GB, free: 2.09 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009862/0.4696, allocations: 416.7 kB / 1.248 GB, free: 1.68 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002397/0.4721, allocations: 1.092 MB / 1.249 GB, free: 0.5859 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.449/0.9211, allocations: 1.698 MB / 1.25 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002359/0.9235, allocations: 2.368 MB / 1.253 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001486/0.925, allocations: 1.405 MB / 1.254 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002555/0.9276, allocations: 1.253 MB / 1.255 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007746/0.9284, allocations: 0.8143 MB / 1.256 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001898/0.9286, allocations: 154.4 kB / 1.256 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001986/0.9306, allocations: 1.383 MB / 1.257 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002959/0.9309, allocations: 448.6 kB / 1.258 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006113/0.9315, allocations: 0.7871 MB / 1.259 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002506/0.934, allocations: 2.536 MB / 1.261 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.934, allocations: 0 / 1.261 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.242e-06/0.934, allocations: 4.156 kB / 1.261 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.671e-05/0.934, allocations: 0 / 1.261 GB, free: 5.262 MB / 0.9981 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.002949/0.937, allocations: 1.894 MB / 1.263 GB, free: 20.32 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.13e-05/0.937, allocations: 8.281 kB / 1.263 GB, free: 20.32 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002002/0.9372, allocations: 177.6 kB / 1.263 GB, free: 20.27 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002079/0.9393, allocations: 351.9 kB / 1.264 GB, free: 20.2 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001275/0.9406, allocations: 0.951 MB / 1.264 GB, free: 19.84 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.717e-05/0.9407, allocations: 86.75 kB / 1.265 GB, free: 19.84 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001444/0.9408, allocations: 116.2 kB / 1.265 GB, free: 19.84 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001967/0.9428, allocations: 1.299 MB / 1.266 GB, free: 19.66 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.53e-05/0.9428, allocations: 4.969 kB / 1.266 GB, free: 19.66 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001137/0.943, allocations: 48.59 kB / 1.266 GB, free: 19.66 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.812e-05/0.943, allocations: 28.22 kB / 1.266 GB, free: 19.66 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00245/0.9454, allocations: 1.45 MB / 1.267 GB, free: 19.65 MB / 1.014 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.005912/0.9514, allocations: 4.078 MB / 1.271 GB, free: 18.14 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002236/0.9536, allocations: 1.209 MB / 1.273 GB, free: 18.01 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009087/0.9545, allocations: 449 kB / 1.273 GB, free: 18 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008317/0.9554, allocations: 428.7 kB / 1.273 GB, free: 17.63 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001247/0.9566, allocations: 0.6595 MB / 1.274 GB, free: 17.56 MB / 1.014 GB Notification: Performance of pre-optimization done (n=106): time 2.645e-06/0.9566, allocations: 1.969 kB / 1.274 GB, free: 17.56 MB / 1.014 GB Notification: Performance of matching and sorting (n=106): time 0.003923/0.9606, allocations: 1.607 MB / 1.276 GB, free: 17.36 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001328/0.9607, allocations: 196.8 kB / 1.276 GB, free: 17.13 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001052/0.9618, allocations: 0.8798 MB / 1.277 GB, free: 16.98 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 9.071e-05/0.9619, allocations: 47.14 kB / 1.277 GB, free: 16.95 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003239/0.9622, allocations: 0.5244 MB / 1.277 GB, free: 16.73 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002059/0.9624, allocations: 350.1 kB / 1.278 GB, free: 16.52 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002967/0.9627, allocations: 194.2 kB / 1.278 GB, free: 16.5 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001641/0.9629, allocations: 341 kB / 1.278 GB, free: 16.19 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007072/0.9636, allocations: 364.4 kB / 1.278 GB, free: 16.19 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008294/0.9644, allocations: 0.4984 MB / 1.279 GB, free: 16.09 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00149/0.9659, allocations: 0.8465 MB / 1.28 GB, free: 16.02 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.966, allocations: 0 / 1.28 GB, free: 16.02 MB / 1.014 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.00243/0.9684, allocations: 1.115 MB / 1.281 GB, free: 15.91 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.9684, allocations: 9.469 kB / 1.281 GB, free: 15.9 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.9684, allocations: 3.953 kB / 1.281 GB, free: 15.9 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005911/0.969, allocations: 90.42 kB / 1.281 GB, free: 15.89 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000933/0.97, allocations: 224.5 kB / 1.281 GB, free: 15.89 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002116/0.9721, allocations: 1.645 MB / 1.283 GB, free: 14.52 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008357/0.973, allocations: 120.4 kB / 1.283 GB, free: 14.46 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.8e-05/0.973, allocations: 50.3 kB / 1.283 GB, free: 14.46 MB / 1.014 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.0004545/0.9735, allocations: 325.8 kB / 1.283 GB, free: 14.34 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002031/0.9737, allocations: 120.4 kB / 1.283 GB, free: 14.28 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002996/0.9767, allocations: 1.508 MB / 1.285 GB, free: 14.13 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.009e-05/0.9767, allocations: 12.78 kB / 1.285 GB, free: 14.13 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.796e-06/0.9768, allocations: 1.75 kB / 1.285 GB, free: 14.13 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.242e-05/0.9768, allocations: 5.75 kB / 1.285 GB, free: 14.13 MB / 1.014 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.004358/0.9811, allocations: 2.839 MB / 1.288 GB, free: 13.55 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/0.9812, allocations: 1.438 kB / 1.288 GB, free: 13.55 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008773/0.982, allocations: 199.3 kB / 1.288 GB, free: 13.55 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004344/0.9825, allocations: 80.59 kB / 1.288 GB, free: 13.55 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.433e-05/0.9826, allocations: 36.2 kB / 1.288 GB, free: 13.54 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00195/0.9845, allocations: 1.681 MB / 1.29 GB, free: 12.16 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.9845, allocations: 3.484 kB / 1.29 GB, free: 12.16 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003244/0.9878, allocations: 1.863 MB / 1.291 GB, free: 11.87 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004323/0.9882, allocations: 342.3 kB / 1.292 GB, free: 11.7 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001753/0.9884, allocations: 29.61 kB / 1.292 GB, free: 11.7 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008972/0.9893, allocations: 76.06 kB / 1.292 GB, free: 11.7 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00017/0.9895, allocations: 88.66 kB / 1.292 GB, free: 11.7 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.835e-05/0.9896, allocations: 49.73 kB / 1.292 GB, free: 11.7 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007557/0.9904, allocations: 0.6265 MB / 1.293 GB, free: 11.59 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.51e-07/0.9904, allocations: 0 / 1.293 GB, free: 11.59 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001111/0.9915, allocations: 459.2 kB / 1.293 GB, free: 11.52 MB / 1.014 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.0056/0.9971, allocations: 3.014 MB / 1.296 GB, free: 10.59 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00289/1, allocations: 1.34 MB / 1.297 GB, free: 10.43 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/1, allocations: 0.9375 kB / 1.297 GB, free: 10.43 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001108/1.001, allocations: 0.6715 MB / 1.298 GB, free: 10.32 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002132/1.003, allocations: 0.5354 MB / 1.298 GB, free: 10.24 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01308/1.016, allocations: 9.287 MB / 1.307 GB, free: 7.066 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000776/1.017, allocations: 1.163 MB / 1.309 GB, free: 6.344 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001306/1.018, allocations: 375 kB / 1.309 GB, free: 6.234 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006296/1.019, allocations: 0.5293 MB / 1.309 GB, free: 6.227 MB / 1.014 GB Notification: Performance of SimCode: time 8.01e-07/1.019, allocations: 7 kB / 1.309 GB, free: 6.223 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.069/1.088, allocations: 32.85 MB / 1.342 GB, free: 12.91 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.16/13.25, allocations: 12.38 kB / 1.342 GB, free: 12.91 MB / 1.029 GB (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 & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Fluid_Sources_Examples_Outside.fmu > Buildings_11_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Examples.Outside_res.csv","/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) "Warning: Resultfile and Reference have different end time points! Reffile[503]=31536000.000000 File[7]=75686.400000 " Variables in the reference:time,senTem.T,senMasFra.X,senRelHum.phi Variables in the result:time,senMasFra.X,senRelHum.phi,senTem.T