Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001414/0.001414, allocations: 112.9 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001419/0.001419, allocations: 189.9 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.286/1.286, allocations: 225.6 MB / 249.3 MB, free: 3.164 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.365/2.365, allocations: 443.5 MB / 0.7304 GB, free: 13.86 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_Sources_Examples_Outside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside,fileNamePrefix="Buildings_10_Buildings_Fluid_Sources_Examples_Outside",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002082/0.002082, allocations: 71.91 kB / 1.059 GB, free: 0.9023 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2733/0.2754, allocations: 160.7 MB / 1.216 GB, free: 15.88 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.6674/0.9428, allocations: 177.4 MB / 1.389 GB, free: 3.254 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01462/0.9574, allocations: 11.1 MB / 1.4 GB, free: 10.47 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000902/0.9583, allocations: 32.41 kB / 1.4 GB, free: 10.46 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001019/0.9593, allocations: 421.4 kB / 1.4 GB, free: 10.09 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002633/0.962, allocations: 1.12 MB / 1.401 GB, free: 9.242 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003747/0.9657, allocations: 1.763 MB / 1.403 GB, free: 7.914 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002482/0.9682, allocations: 2.363 MB / 1.405 GB, free: 6.5 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001469/0.9697, allocations: 1.12 MB / 1.406 GB, free: 5.68 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003115/0.9728, allocations: 1.301 MB / 1.408 GB, free: 4.91 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001241/0.974, allocations: 0.8242 MB / 1.408 GB, free: 4.355 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0003234/0.9744, allocations: 154.7 kB / 1.408 GB, free: 4.355 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00263/0.977, allocations: 1.465 MB / 1.41 GB, free: 3.613 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0004994/0.9775, allocations: 467 kB / 1.41 GB, free: 3.262 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0009747/0.9785, allocations: 0.7782 MB / 1.411 GB, free: 2.711 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.003517/0.982, allocations: 2.6 MB / 1.414 GB, free: 0.9375 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.982, allocations: 0 / 1.414 GB, free: 0.9375 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.172e-06/0.982, allocations: 0 / 1.414 GB, free: 0.9375 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.759e-05/0.982, allocations: 0 / 1.414 GB, free: 0.9375 MB / 1.076 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.0035/0.9855, allocations: 1.939 MB / 1.416 GB, free: 15.45 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.9856, allocations: 14.31 kB / 1.416 GB, free: 15.44 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002019/0.9858, allocations: 178 kB / 1.416 GB, free: 15.3 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00196/0.9877, allocations: 352.6 kB / 1.416 GB, free: 15.14 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001456/0.9892, allocations: 1.001 MB / 1.417 GB, free: 14.35 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.403e-05/0.9893, allocations: 90.31 kB / 1.417 GB, free: 14.31 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001445/0.9894, allocations: 117.6 kB / 1.417 GB, free: 14.27 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001982/0.9914, allocations: 1.303 MB / 1.419 GB, free: 13.44 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.138e-05/0.9914, allocations: 6.469 kB / 1.419 GB, free: 13.44 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001104/0.9915, allocations: 50.09 kB / 1.419 GB, free: 13.4 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.637e-05/0.9915, allocations: 30.44 kB / 1.419 GB, free: 13.4 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00216/0.9937, allocations: 1.45 MB / 1.42 GB, free: 12.7 MB / 1.092 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.005789/0.9995, allocations: 4.041 MB / 1.424 GB, free: 9.445 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002301/1.002, allocations: 1.153 MB / 1.425 GB, free: 8.797 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007973/1.003, allocations: 410.5 kB / 1.425 GB, free: 8.59 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008068/1.003, allocations: 427.2 kB / 1.426 GB, free: 8.164 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00123/1.005, allocations: 0.6664 MB / 1.427 GB, free: 7.59 MB / 1.092 GB Notification: Performance of pre-optimization done (n=106): time 3.016e-06/1.005, allocations: 0 / 1.427 GB, free: 7.59 MB / 1.092 GB Notification: Performance of matching and sorting (n=106): time 0.004013/1.009, allocations: 1.61 MB / 1.428 GB, free: 5.957 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000114/1.009, allocations: 192.9 kB / 1.428 GB, free: 5.727 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001158/1.01, allocations: 0.8867 MB / 1.429 GB, free: 4.816 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 9.359e-05/1.01, allocations: 49.7 kB / 1.429 GB, free: 4.762 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004341/1.01, allocations: 0.5207 MB / 1.43 GB, free: 4.234 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003123/1.011, allocations: 364.9 kB / 1.43 GB, free: 3.875 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003159/1.011, allocations: 194.5 kB / 1.43 GB, free: 3.676 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001526/1.011, allocations: 353.8 kB / 1.431 GB, free: 3.324 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007415/1.012, allocations: 357.8 kB / 1.431 GB, free: 2.977 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008886/1.013, allocations: 0.4971 MB / 1.431 GB, free: 2.445 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001638/1.014, allocations: 0.8523 MB / 1.432 GB, free: 1.574 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/1.014, allocations: 0 / 1.432 GB, free: 1.574 MB / 1.092 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002504/1.017, allocations: 1.118 MB / 1.433 GB, free: 456 kB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/1.017, allocations: 4 kB / 1.433 GB, free: 452 kB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/1.017, allocations: 0 / 1.433 GB, free: 452 kB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005775/1.018, allocations: 88.86 kB / 1.433 GB, free: 360 kB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009336/1.019, allocations: 219.7 kB / 1.434 GB, free: 140 kB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002251/1.021, allocations: 1.654 MB / 1.435 GB, free: 14.33 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009036/1.022, allocations: 136.5 kB / 1.435 GB, free: 14.2 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.856e-05/1.022, allocations: 39.97 kB / 1.435 GB, free: 14.16 MB / 1.107 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.0005485/1.022, allocations: 317.6 kB / 1.436 GB, free: 13.84 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002427/1.023, allocations: 127.2 kB / 1.436 GB, free: 13.72 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003114/1.026, allocations: 1.504 MB / 1.437 GB, free: 12.2 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-05/1.026, allocations: 15.98 kB / 1.437 GB, free: 12.18 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/1.026, allocations: 0 / 1.437 GB, free: 12.18 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.289e-05/1.026, allocations: 3.984 kB / 1.437 GB, free: 12.18 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 postOpt removeSimpleEquations (simulation): time 0.004891/1.031, allocations: 2.844 MB / 1.44 GB, free: 9.227 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/1.031, allocations: 0 / 1.44 GB, free: 9.227 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008725/1.031, allocations: 203.7 kB / 1.44 GB, free: 9.027 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004312/1.032, allocations: 76.97 kB / 1.44 GB, free: 8.949 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.253e-05/1.032, allocations: 31.98 kB / 1.44 GB, free: 8.918 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001938/1.034, allocations: 1.67 MB / 1.442 GB, free: 7.102 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/1.034, allocations: 11.88 kB / 1.442 GB, free: 7.09 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003495/1.037, allocations: 1.863 MB / 1.444 GB, free: 5.191 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00055/1.038, allocations: 351.9 kB / 1.444 GB, free: 4.828 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001894/1.038, allocations: 28.22 kB / 1.444 GB, free: 4.801 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008983/1.039, allocations: 86.03 kB / 1.444 GB, free: 4.719 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001786/1.039, allocations: 84.83 kB / 1.444 GB, free: 4.637 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.354e-05/1.039, allocations: 47.97 kB / 1.444 GB, free: 4.59 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0008914/1.04, allocations: 0.6261 MB / 1.445 GB, free: 3.953 MB / 1.107 GB Notification: Performance of sort global known variables: time 9e-08/1.04, allocations: 0 / 1.445 GB, free: 3.953 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.001182/1.041, allocations: 462.9 kB / 1.445 GB, free: 3.5 MB / 1.107 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.00579/1.047, allocations: 3.025 MB / 1.448 GB, free: 0.6133 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.002168/1.049, allocations: 1.03 MB / 1.449 GB, free: 15.57 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/1.049, allocations: 7.859 kB / 1.449 GB, free: 15.56 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.001186/1.051, allocations: 0.6216 MB / 1.45 GB, free: 14.93 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002159/1.053, allocations: 0.5333 MB / 1.451 GB, free: 14.42 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0147/1.067, allocations: 8.822 MB / 1.459 GB, free: 5.402 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008612/1.068, allocations: 1.158 MB / 1.46 GB, free: 4.215 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.001165/1.069, allocations: 369.7 kB / 1.461 GB, free: 3.852 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007894/1.07, allocations: 0.5266 MB / 1.461 GB, free: 3.324 MB / 1.123 GB Notification: Performance of SimCode: time 9.52e-07/1.07, allocations: 0 / 1.461 GB, free: 3.324 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08485/1.155, allocations: 33.42 MB / 1.494 GB, free: 2.289 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.59/13.75, allocations: 3 kB / 1.494 GB, free: 2.289 MB / 1.154 GB " [Timeout remaining time 286] (rm -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Examples.Outside.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Fluid_Sources_Examples_Outside.fmu > Buildings_10_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Examples.Outside_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Examples_Outside.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 20.87559307999618]