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.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-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001659/0.001659, allocations: 112.5 kB / 15.73 MB, free: 76 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.001876/0.001876, allocations: 190.7 kB / 16.66 MB, free: 6.582 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.302/1.302, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.647/2.647, allocations: 469.4 MB / 0.7422 GB, free: 7.602 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 76.09 kB / 1.064 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2507/0.2519, allocations: 159.1 MB / 1.22 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.6718/0.9238, allocations: 176.5 MB / 1.392 GB, free: 11.83 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.01414/0.938, allocations: 10.92 MB / 1.403 GB, free: 3.008 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001053/0.939, allocations: 28.34 kB / 1.403 GB, free: 3 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001141/0.9402, allocations: 422.4 kB / 1.403 GB, free: 2.637 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.002906/0.9431, allocations: 1.122 MB / 1.404 GB, free: 1.781 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.003848/0.947, allocations: 1.736 MB / 1.406 GB, free: 496 kB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.002671/0.9497, allocations: 2.377 MB / 1.408 GB, free: 15.06 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001956/0.9516, allocations: 1.403 MB / 1.41 GB, free: 14.15 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003095/0.9548, allocations: 1.305 MB / 1.411 GB, free: 13.38 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001168/0.9559, allocations: 0.8085 MB / 1.412 GB, free: 12.83 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0002751/0.9562, allocations: 154 kB / 1.412 GB, free: 12.83 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002518/0.9587, allocations: 1.421 MB / 1.413 GB, free: 12.12 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0004488/0.9592, allocations: 445.2 kB / 1.414 GB, free: 11.79 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0008996/0.9601, allocations: 0.7915 MB / 1.414 GB, free: 11.23 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.003172/0.9633, allocations: 2.599 MB / 1.417 GB, free: 9.457 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.9633, allocations: 0 / 1.417 GB, free: 9.457 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.142e-06/0.9633, allocations: 0 / 1.417 GB, free: 9.457 MB / 1.107 GB Notification: Performance of Transformations before backend: time 4.177e-05/0.9634, allocations: 0 / 1.417 GB, free: 9.457 MB / 1.107 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.003471/0.9668, allocations: 1.937 MB / 1.419 GB, free: 7.969 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.9669, allocations: 10.44 kB / 1.419 GB, free: 7.969 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002274/0.9671, allocations: 178.7 kB / 1.419 GB, free: 7.824 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002234/0.9694, allocations: 365.4 kB / 1.419 GB, free: 7.652 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00159/0.971, allocations: 0.9948 MB / 1.42 GB, free: 6.871 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.319e-05/0.971, allocations: 93.7 kB / 1.421 GB, free: 6.824 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001688/0.9712, allocations: 113.1 kB / 1.421 GB, free: 6.789 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002202/0.9734, allocations: 1.296 MB / 1.422 GB, free: 5.969 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.585e-05/0.9735, allocations: 0 / 1.422 GB, free: 5.969 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001247/0.9736, allocations: 56.17 kB / 1.422 GB, free: 5.926 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.769e-05/0.9736, allocations: 27.47 kB / 1.422 GB, free: 5.926 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002345/0.976, allocations: 1.453 MB / 1.423 GB, free: 5.227 MB / 1.107 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.00602/0.982, allocations: 4.043 MB / 1.427 GB, free: 1.156 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002254/0.9843, allocations: 1.21 MB / 1.429 GB, free: 15.93 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007981/0.9851, allocations: 451.6 kB / 1.429 GB, free: 15.48 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007518/0.9858, allocations: 429.3 kB / 1.429 GB, free: 14.99 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001153/0.987, allocations: 0.6577 MB / 1.43 GB, free: 14.32 MB / 1.123 GB Notification: Performance of pre-optimization done (n=106): time 2.465e-06/0.987, allocations: 0 / 1.43 GB, free: 14.32 MB / 1.123 GB Notification: Performance of matching and sorting (n=106): time 0.00412/0.9911, allocations: 1.614 MB / 1.432 GB, free: 12.68 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.723e-05/0.9913, allocations: 196.9 kB / 1.432 GB, free: 12.45 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001103/0.9924, allocations: 0.8789 MB / 1.433 GB, free: 11.54 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 8.521e-05/0.9925, allocations: 49.7 kB / 1.433 GB, free: 11.49 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003921/0.9929, allocations: 0.5285 MB / 1.433 GB, free: 10.95 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002832/0.9931, allocations: 368.9 kB / 1.434 GB, free: 10.59 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003073/0.9935, allocations: 190.6 kB / 1.434 GB, free: 10.39 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.9936, allocations: 349.9 kB / 1.434 GB, free: 10.05 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007622/0.9944, allocations: 357.8 kB / 1.434 GB, free: 9.699 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000897/0.9953, allocations: 0.5087 MB / 1.435 GB, free: 9.152 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001621/0.9969, allocations: 0.8407 MB / 1.436 GB, free: 8.293 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.9969, allocations: 0 / 1.436 GB, free: 8.293 MB / 1.123 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002531/0.9994, allocations: 1.118 MB / 1.437 GB, free: 7.168 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.9995, allocations: 4 kB / 1.437 GB, free: 7.164 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.9995, allocations: 4 kB / 1.437 GB, free: 7.16 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000589/1, allocations: 88.84 kB / 1.437 GB, free: 7.07 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009961/1.001, allocations: 227.7 kB / 1.437 GB, free: 6.848 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002048/1.003, allocations: 1.638 MB / 1.439 GB, free: 5.062 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008788/1.004, allocations: 135.2 kB / 1.439 GB, free: 4.93 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-05/1.004, allocations: 47.95 kB / 1.439 GB, free: 4.883 MB / 1.123 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.000466/1.005, allocations: 321.7 kB / 1.439 GB, free: 4.559 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002197/1.005, allocations: 135.1 kB / 1.439 GB, free: 4.426 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003154/1.008, allocations: 1.501 MB / 1.441 GB, free: 2.898 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.054e-05/1.008, allocations: 12 kB / 1.441 GB, free: 2.887 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/1.008, allocations: 0 / 1.441 GB, free: 2.887 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/1.008, allocations: 3.984 kB / 1.441 GB, free: 2.883 MB / 1.123 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.004811/1.013, allocations: 2.851 MB / 1.444 GB, free: 15.92 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/1.013, allocations: 3.938 kB / 1.444 GB, free: 15.92 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000953/1.014, allocations: 203.9 kB / 1.444 GB, free: 15.72 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004526/1.014, allocations: 68.78 kB / 1.444 GB, free: 15.65 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.417e-05/1.014, allocations: 35.97 kB / 1.444 GB, free: 15.61 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0019/1.016, allocations: 1.686 MB / 1.446 GB, free: 13.78 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/1.016, allocations: 0 / 1.446 GB, free: 13.78 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003559/1.02, allocations: 1.867 MB / 1.447 GB, free: 11.88 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005298/1.02, allocations: 367.8 kB / 1.448 GB, free: 11.5 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001849/1.021, allocations: 24 kB / 1.448 GB, free: 11.48 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009586/1.022, allocations: 75.98 kB / 1.448 GB, free: 11.4 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001646/1.022, allocations: 88.81 kB / 1.448 GB, free: 11.32 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.26e-05/1.022, allocations: 51.97 kB / 1.448 GB, free: 11.27 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.000822/1.023, allocations: 0.6261 MB / 1.449 GB, free: 10.63 MB / 1.139 GB Notification: Performance of sort global known variables: time 2.1e-07/1.023, allocations: 0 / 1.449 GB, free: 10.63 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001038/1.024, allocations: 462.9 kB / 1.449 GB, free: 10.18 MB / 1.139 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.005285/1.029, allocations: 3.021 MB / 1.452 GB, free: 7.301 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.002125/1.031, allocations: 1.062 MB / 1.453 GB, free: 6.227 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/1.031, allocations: 4 kB / 1.453 GB, free: 6.223 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001216/1.032, allocations: 0.6607 MB / 1.454 GB, free: 5.551 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002192/1.035, allocations: 0.5284 MB / 1.454 GB, free: 5.039 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01396/1.049, allocations: 8.811 MB / 1.463 GB, free: 12.03 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007377/1.049, allocations: 1.166 MB / 1.464 GB, free: 10.84 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.001115/1.05, allocations: 369.7 kB / 1.464 GB, free: 10.47 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007638/1.051, allocations: 0.5305 MB / 1.465 GB, free: 9.941 MB / 1.154 GB Notification: Performance of SimCode: time 2.9e-07/1.051, allocations: 0 / 1.465 GB, free: 9.941 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06124/1.112, allocations: 33.16 MB / 1.497 GB, free: 9.168 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.77/13.88, allocations: 6.969 kB / 1.497 GB, free: 9.164 MB / 1.186 GB (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 50 --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) 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) "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