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.005505/0.005505, allocations: 95.44 kB / 15.73 MB, free: 6.051 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.001513/0.001513, allocations: 199.5 kB / 16.68 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.414/1.414, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.848/2.848, allocations: 469.8 MB / 0.7425 GB, free: 7.336 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001913/0.001913, allocations: 63.91 kB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.28/0.2819, allocations: 159.1 MB / 1.22 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.7036/0.9856, allocations: 176.5 MB / 1.393 GB, free: 11.38 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.01598/1.002, allocations: 10.91 MB / 1.403 GB, free: 2.555 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001085/1.003, allocations: 32.34 kB / 1.403 GB, free: 2.543 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001245/1.004, allocations: 415.9 kB / 1.404 GB, free: 2.184 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.003137/1.007, allocations: 1.091 MB / 1.405 GB, free: 1.348 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.004032/1.011, allocations: 1.714 MB / 1.406 GB, free: 64 kB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.002777/1.014, allocations: 2.378 MB / 1.409 GB, free: 14.63 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001802/1.016, allocations: 1.411 MB / 1.41 GB, free: 13.72 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002924/1.019, allocations: 1.261 MB / 1.411 GB, free: 12.98 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009586/1.02, allocations: 0.8081 MB / 1.412 GB, free: 12.43 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0002094/1.02, allocations: 159.4 kB / 1.412 GB, free: 12.43 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002499/1.022, allocations: 1.419 MB / 1.414 GB, free: 11.72 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0004106/1.023, allocations: 445.9 kB / 1.414 GB, free: 11.39 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0007436/1.024, allocations: 0.7837 MB / 1.415 GB, free: 10.84 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.00302/1.027, allocations: 2.597 MB / 1.417 GB, free: 9.062 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/1.027, allocations: 2.969 kB / 1.417 GB, free: 9.062 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.493e-06/1.027, allocations: 0 / 1.417 GB, free: 9.062 MB / 1.107 GB Notification: Performance of Transformations before backend: time 2.579e-05/1.027, allocations: 3.984 kB / 1.417 GB, free: 9.059 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.003225/1.03, allocations: 1.936 MB / 1.419 GB, free: 7.57 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.248e-05/1.03, allocations: 11.34 kB / 1.419 GB, free: 7.57 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000226/1.03, allocations: 181.8 kB / 1.419 GB, free: 7.422 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002142/1.032, allocations: 361.4 kB / 1.42 GB, free: 7.254 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001584/1.034, allocations: 0.998 MB / 1.421 GB, free: 6.469 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.007e-05/1.034, allocations: 90.14 kB / 1.421 GB, free: 6.426 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001499/1.034, allocations: 112.8 kB / 1.421 GB, free: 6.391 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002236/1.036, allocations: 1.303 MB / 1.422 GB, free: 5.562 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.551e-05/1.036, allocations: 0 / 1.422 GB, free: 5.562 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001222/1.037, allocations: 48.5 kB / 1.422 GB, free: 5.527 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.037e-05/1.037, allocations: 31.3 kB / 1.422 GB, free: 5.523 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002408/1.039, allocations: 1.449 MB / 1.424 GB, free: 4.828 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.006378/1.045, allocations: 4.037 MB / 1.428 GB, free: 0.7109 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002438/1.048, allocations: 1.226 MB / 1.429 GB, free: 15.47 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008834/1.049, allocations: 451.6 kB / 1.429 GB, free: 15.02 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007967/1.05, allocations: 425.3 kB / 1.43 GB, free: 14.54 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001264/1.051, allocations: 0.6606 MB / 1.43 GB, free: 13.86 MB / 1.123 GB Notification: Performance of pre-optimization done (n=106): time 2.394e-06/1.051, allocations: 0 / 1.43 GB, free: 13.86 MB / 1.123 GB Notification: Performance of matching and sorting (n=106): time 0.004358/1.055, allocations: 1.61 MB / 1.432 GB, free: 12.22 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001247/1.055, allocations: 192.9 kB / 1.432 GB, free: 11.99 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001234/1.057, allocations: 0.8867 MB / 1.433 GB, free: 11.08 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 9.854e-05/1.057, allocations: 49.7 kB / 1.433 GB, free: 11.03 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004706/1.057, allocations: 0.5168 MB / 1.434 GB, free: 10.5 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003305/1.058, allocations: 368.9 kB / 1.434 GB, free: 10.14 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003387/1.058, allocations: 194.6 kB / 1.434 GB, free: 9.941 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001805/1.058, allocations: 349.9 kB / 1.434 GB, free: 9.594 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007999/1.059, allocations: 361.8 kB / 1.435 GB, free: 9.242 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009804/1.06, allocations: 0.4932 MB / 1.435 GB, free: 8.711 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001768/1.062, allocations: 0.8523 MB / 1.436 GB, free: 7.84 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/1.062, allocations: 0 / 1.436 GB, free: 7.84 MB / 1.123 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002695/1.064, allocations: 1.122 MB / 1.437 GB, free: 6.711 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/1.064, allocations: 4 kB / 1.437 GB, free: 6.707 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/1.064, allocations: 0 / 1.437 GB, free: 6.707 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006248/1.065, allocations: 92.84 kB / 1.437 GB, free: 6.613 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001005/1.066, allocations: 223.7 kB / 1.437 GB, free: 6.395 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002288/1.068, allocations: 1.646 MB / 1.439 GB, free: 4.605 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008702/1.069, allocations: 135.2 kB / 1.439 GB, free: 4.473 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.285e-05/1.069, allocations: 35.98 kB / 1.439 GB, free: 4.438 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.0005/1.07, allocations: 323.8 kB / 1.44 GB, free: 4.113 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002281/1.07, allocations: 131.1 kB / 1.44 GB, free: 3.984 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003431/1.074, allocations: 1.505 MB / 1.441 GB, free: 2.457 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.969e-06/1.074, allocations: 8 kB / 1.441 GB, free: 2.449 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/1.074, allocations: 4 kB / 1.441 GB, free: 2.445 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.456e-05/1.074, allocations: 3.984 kB / 1.441 GB, free: 2.441 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.005094/1.079, allocations: 2.847 MB / 1.444 GB, free: 15.48 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.563e-06/1.079, allocations: 4 kB / 1.444 GB, free: 15.48 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009587/1.08, allocations: 199.7 kB / 1.444 GB, free: 15.28 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004715/1.08, allocations: 76.97 kB / 1.444 GB, free: 15.2 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.497e-05/1.08, allocations: 35.97 kB / 1.444 GB, free: 15.17 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002136/1.082, allocations: 1.681 MB / 1.446 GB, free: 13.34 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/1.082, allocations: 7.969 kB / 1.446 GB, free: 13.33 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003829/1.086, allocations: 1.867 MB / 1.448 GB, free: 11.43 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005118/1.087, allocations: 351.9 kB / 1.448 GB, free: 11.07 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000175/1.087, allocations: 24 kB / 1.448 GB, free: 11.04 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009099/1.088, allocations: 75.92 kB / 1.448 GB, free: 10.97 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001959/1.088, allocations: 88.83 kB / 1.448 GB, free: 10.88 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000103/1.088, allocations: 51.95 kB / 1.448 GB, free: 10.83 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0009079/1.089, allocations: 0.6261 MB / 1.449 GB, free: 10.2 MB / 1.139 GB Notification: Performance of sort global known variables: time 2.01e-07/1.089, allocations: 4 kB / 1.449 GB, free: 10.19 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001114/1.09, allocations: 466.9 kB / 1.449 GB, free: 9.734 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.006304/1.097, allocations: 3.018 MB / 1.452 GB, free: 6.859 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.002281/1.099, allocations: 1.069 MB / 1.453 GB, free: 5.777 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/1.099, allocations: 4 kB / 1.453 GB, free: 5.773 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001322/1.1, allocations: 0.6568 MB / 1.454 GB, free: 5.105 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002308/1.102, allocations: 0.5261 MB / 1.454 GB, free: 4.598 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01508/1.118, allocations: 8.819 MB / 1.463 GB, free: 11.59 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008834/1.118, allocations: 1.158 MB / 1.464 GB, free: 10.4 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.001159/1.12, allocations: 373.7 kB / 1.465 GB, free: 10.03 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008535/1.121, allocations: 0.5305 MB / 1.465 GB, free: 9.5 MB / 1.154 GB Notification: Performance of SimCode: time 4.61e-07/1.121, allocations: 0 / 1.465 GB, free: 9.5 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07431/1.195, allocations: 33.15 MB / 1.497 GB, free: 8.754 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.06/15.25, allocations: 12.95 kB / 1.497 GB, free: 8.742 MB / 1.186 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 50 --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