Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Fluid_Sources_Examples_Outside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside,fileNamePrefix="Buildings_9_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.003999/0.003999, allocations: 99.95 kB / 15.73 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 189.4 kB / 16.67 MB, free: 5.973 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.288/1.288, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.167/2.167, allocations: 390.3 MB / 0.6648 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001285, allocations: 59.91 kB / 0.9504 GB, free: 8.18 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6519/0.6532, allocations: 140.4 MB / 1.087 GB, free: 5.156 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.1865/0.8397, allocations: 176 MB / 1.259 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01423/0.854, allocations: 10.84 MB / 1.27 GB, free: 2.75 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009776/0.855, allocations: 31.81 kB / 1.27 GB, free: 2.719 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001128/0.8561, allocations: 400.9 kB / 1.27 GB, free: 2.324 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002819/0.859, allocations: 1.088 MB / 1.271 GB, free: 1.234 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003787/0.8628, allocations: 1.712 MB / 1.273 GB, free: 15.53 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002428/0.8652, allocations: 2.307 MB / 1.275 GB, free: 13.21 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001744/0.867, allocations: 1.442 MB / 1.277 GB, free: 11.73 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002701/0.8697, allocations: 1.289 MB / 1.278 GB, free: 10.45 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008119/0.8705, allocations: 0.7974 MB / 1.279 GB, free: 9.648 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001893/0.8707, allocations: 152 kB / 1.279 GB, free: 9.5 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002226/0.873, allocations: 1.412 MB / 1.28 GB, free: 8.086 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003803/0.8734, allocations: 446.7 kB / 1.281 GB, free: 7.648 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0006671/0.874, allocations: 0.7851 MB / 1.282 GB, free: 6.859 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002826/0.8769, allocations: 2.562 MB / 1.284 GB, free: 4.289 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.8769, allocations: 0 / 1.284 GB, free: 4.289 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.382e-06/0.8769, allocations: 0 / 1.284 GB, free: 4.289 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.696e-05/0.8769, allocations: 4 kB / 1.284 GB, free: 4.285 MB / 1.014 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.003112/0.88, allocations: 1.93 MB / 1.286 GB, free: 2.297 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.8801, allocations: 12.03 kB / 1.286 GB, free: 2.285 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000206/0.8803, allocations: 177.4 kB / 1.286 GB, free: 2.102 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002193/0.8825, allocations: 366.6 kB / 1.286 GB, free: 1.742 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001556/0.8841, allocations: 0.9845 MB / 1.287 GB, free: 0.7109 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.545e-05/0.8841, allocations: 86.33 kB / 1.287 GB, free: 0.625 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000178/0.8843, allocations: 120 kB / 1.288 GB, free: 0.5078 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002219/0.8865, allocations: 1.306 MB / 1.289 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.492e-05/0.8866, allocations: 0 / 1.289 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001188/0.8867, allocations: 48 kB / 1.289 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.261e-05/0.8867, allocations: 32 kB / 1.289 GB, free: 15.06 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002472/0.8892, allocations: 1.445 MB / 1.29 GB, free: 13.61 MB / 1.029 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.005772/0.895, allocations: 3.83 MB / 1.294 GB, free: 9.621 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00224/0.8973, allocations: 1.221 MB / 1.295 GB, free: 8.387 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008044/0.8981, allocations: 450.1 kB / 1.296 GB, free: 7.945 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007321/0.8988, allocations: 429.5 kB / 1.296 GB, free: 7.449 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001159/0.9, allocations: 0.6605 MB / 1.297 GB, free: 6.773 MB / 1.029 GB Notification: Performance of pre-optimization done (n=106): time 2.385e-06/0.9, allocations: 0 / 1.297 GB, free: 6.773 MB / 1.029 GB Notification: Performance of matching and sorting (n=106): time 0.004045/0.9041, allocations: 1.614 MB / 1.298 GB, free: 5.129 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.384e-05/0.9042, allocations: 192.9 kB / 1.299 GB, free: 4.898 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001085/0.9052, allocations: 0.8789 MB / 1.299 GB, free: 3.996 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 8.941e-05/0.9054, allocations: 49.7 kB / 1.299 GB, free: 3.941 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003931/0.9058, allocations: 0.5285 MB / 1.3 GB, free: 3.406 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002824/0.906, allocations: 368.8 kB / 1.3 GB, free: 3.043 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002994/0.9064, allocations: 194.6 kB / 1.3 GB, free: 2.848 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.9065, allocations: 345.9 kB / 1.301 GB, free: 2.504 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007404/0.9072, allocations: 357.8 kB / 1.301 GB, free: 2.152 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008924/0.9081, allocations: 0.5049 MB / 1.302 GB, free: 1.613 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001625/0.9098, allocations: 0.8484 MB / 1.302 GB, free: 0.75 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.9e-06/0.9098, allocations: 4 kB / 1.302 GB, free: 0.7461 MB / 1.029 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002514/0.9123, allocations: 1.122 MB / 1.304 GB, free: 15.61 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.9123, allocations: 6.031 kB / 1.304 GB, free: 15.61 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.9123, allocations: 4 kB / 1.304 GB, free: 15.6 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006158/0.913, allocations: 88.86 kB / 1.304 GB, free: 15.51 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001042/0.914, allocations: 219.7 kB / 1.304 GB, free: 15.3 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002146/0.9162, allocations: 1.652 MB / 1.306 GB, free: 13.5 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008798/0.9171, allocations: 123.2 kB / 1.306 GB, free: 13.38 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.757e-05/0.9172, allocations: 43.97 kB / 1.306 GB, free: 13.34 MB / 1.045 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.0004686/0.9177, allocations: 334 kB / 1.306 GB, free: 13.01 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002109/0.9179, allocations: 119.2 kB / 1.306 GB, free: 12.89 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003188/0.9211, allocations: 1.513 MB / 1.308 GB, free: 11.35 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.077e-05/0.9211, allocations: 12 kB / 1.308 GB, free: 11.34 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.9211, allocations: 0 / 1.308 GB, free: 11.34 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.507e-05/0.9211, allocations: 11.91 kB / 1.308 GB, free: 11.32 MB / 1.045 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.004768/0.9259, allocations: 2.843 MB / 1.31 GB, free: 8.371 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.9259, allocations: 0 / 1.31 GB, free: 8.371 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009581/0.9269, allocations: 203.7 kB / 1.311 GB, free: 8.172 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004576/0.9273, allocations: 72.97 kB / 1.311 GB, free: 8.098 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.078e-05/0.9274, allocations: 27.98 kB / 1.311 GB, free: 8.07 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001899/0.9293, allocations: 1.681 MB / 1.312 GB, free: 6.246 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.9294, allocations: 3.938 kB / 1.312 GB, free: 6.242 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003513/0.9329, allocations: 1.874 MB / 1.314 GB, free: 4.332 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005205/0.9334, allocations: 347.9 kB / 1.314 GB, free: 3.973 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001736/0.9336, allocations: 31.88 kB / 1.315 GB, free: 3.941 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009445/0.9345, allocations: 75.92 kB / 1.315 GB, free: 3.867 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001586/0.9347, allocations: 89.05 kB / 1.315 GB, free: 3.777 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.014e-05/0.9348, allocations: 47.97 kB / 1.315 GB, free: 3.73 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0008184/0.9356, allocations: 0.6261 MB / 1.315 GB, free: 3.094 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9356, allocations: 0 / 1.315 GB, free: 3.094 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.00105/0.9367, allocations: 450.9 kB / 1.316 GB, free: 2.652 MB / 1.045 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.005261/0.942, allocations: 3.023 MB / 1.319 GB, free: 15.77 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002096/0.9441, allocations: 1.069 MB / 1.32 GB, free: 14.69 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.9441, allocations: 4.312 kB / 1.32 GB, free: 14.68 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001227/0.9453, allocations: 0.6602 MB / 1.32 GB, free: 14.01 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002186/0.9475, allocations: 0.5119 MB / 1.321 GB, free: 13.52 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01481/0.9623, allocations: 8.931 MB / 1.33 GB, free: 4.387 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007211/0.9631, allocations: 1.154 MB / 1.331 GB, free: 3.207 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.001129/0.9642, allocations: 373.6 kB / 1.331 GB, free: 2.84 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007727/0.965, allocations: 0.5305 MB / 1.332 GB, free: 2.309 MB / 1.061 GB Notification: Performance of SimCode: time 3.71e-07/0.965, allocations: 0 / 1.332 GB, free: 2.309 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06204/1.027, allocations: 32.73 MB / 1.364 GB, free: 1.98 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.14/14.17, allocations: 10.61 kB / 1.364 GB, free: 1.973 MB / 1.092 GB (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.Outside.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Fluid_Sources_Examples_Outside.fmu > Buildings_9_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Examples.Outside_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Examples_Outside.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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