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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001957/0.001957, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002591/0.002591, allocations: 215.3 kB / 22.25 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.469/1.469, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.759/2.759, allocations: 476 MB / 0.7699 GB, free: 4.742 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002206/0.002206, allocations: 67.39 kB / 1.117 GB, free: 41.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3393/0.3415, allocations: 170 MB / 1.283 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.2059/0.5475, allocations: 155.8 MB / 1.435 GB, free: 120 kB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.01639/0.5638, allocations: 10.31 MB / 1.445 GB, free: 5.777 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001087/0.5649, allocations: 43.62 kB / 1.445 GB, free: 5.734 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001217/0.5662, allocations: 424.7 kB / 1.445 GB, free: 5.316 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.003195/0.5693, allocations: 1.136 MB / 1.446 GB, free: 4.18 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.004663/0.574, allocations: 1.739 MB / 1.448 GB, free: 2.445 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.003505/0.5775, allocations: 2.408 MB / 1.45 GB, free: 24 kB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001951/0.5795, allocations: 1.112 MB / 1.451 GB, free: 14.88 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003854/0.5833, allocations: 1.328 MB / 1.453 GB, free: 13.56 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001273/0.5846, allocations: 0.7661 MB / 1.454 GB, free: 12.79 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0002502/0.5848, allocations: 160 kB / 1.454 GB, free: 12.64 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002896/0.5877, allocations: 1.275 MB / 1.455 GB, free: 11.36 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0005028/0.5882, allocations: 458.5 kB / 1.455 GB, free: 10.91 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0007674/0.589, allocations: 0.6455 MB / 1.456 GB, free: 10.26 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.003998/0.593, allocations: 2.631 MB / 1.459 GB, free: 7.621 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.593, allocations: 0 / 1.459 GB, free: 7.621 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.903e-06/0.593, allocations: 0 / 1.459 GB, free: 7.621 MB / 1.154 GB Notification: Performance of Transformations before backend: time 3.055e-05/0.593, allocations: 0 / 1.459 GB, free: 7.621 MB / 1.154 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.003689/0.5967, allocations: 1.895 MB / 1.46 GB, free: 5.68 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.5968, allocations: 8.031 kB / 1.46 GB, free: 5.672 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002602/0.597, allocations: 177.4 kB / 1.461 GB, free: 5.488 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002909/0.5999, allocations: 410.6 kB / 1.461 GB, free: 5.086 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002009/0.602, allocations: 0.9279 MB / 1.462 GB, free: 4.129 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.793e-05/0.602, allocations: 86.33 kB / 1.462 GB, free: 4.043 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001894/0.6022, allocations: 112 kB / 1.462 GB, free: 3.934 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002728/0.605, allocations: 1.679 MB / 1.464 GB, free: 2.098 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.725e-05/0.605, allocations: 0 / 1.464 GB, free: 2.098 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000139/0.6051, allocations: 48 kB / 1.464 GB, free: 2.051 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.736e-05/0.6052, allocations: 28 kB / 1.464 GB, free: 2.023 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00267/0.6078, allocations: 1.41 MB / 1.465 GB, free: 0.6055 MB / 1.154 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.006599/0.6144, allocations: 3.153 MB / 1.468 GB, free: 13.38 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002257/0.6167, allocations: 1.075 MB / 1.469 GB, free: 12.3 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008173/0.6175, allocations: 407.6 kB / 1.47 GB, free: 11.89 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006067/0.6181, allocations: 121.1 kB / 1.47 GB, free: 11.78 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001373/0.6195, allocations: 0.8826 MB / 1.471 GB, free: 10.82 MB / 1.17 GB Notification: Performance of pre-optimization done (n=106): time 2.996e-06/0.6195, allocations: 0 / 1.471 GB, free: 10.82 MB / 1.17 GB Notification: Performance of matching and sorting (n=106): time 0.004246/0.6237, allocations: 1.535 MB / 1.472 GB, free: 9.277 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001298/0.6239, allocations: 196.9 kB / 1.472 GB, free: 9.043 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001344/0.6252, allocations: 0.9112 MB / 1.473 GB, free: 8.109 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 9.983e-05/0.6253, allocations: 49.7 kB / 1.473 GB, free: 8.055 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005099/0.6258, allocations: 0.5285 MB / 1.474 GB, free: 7.52 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003475/0.6262, allocations: 376.8 kB / 1.474 GB, free: 7.148 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003269/0.6265, allocations: 190.6 kB / 1.474 GB, free: 6.957 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001767/0.6267, allocations: 349.9 kB / 1.475 GB, free: 6.609 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007762/0.6274, allocations: 373.7 kB / 1.475 GB, free: 6.242 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001069/0.6285, allocations: 0.6767 MB / 1.476 GB, free: 5.488 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001711/0.6302, allocations: 0.8367 MB / 1.476 GB, free: 4.633 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.6302, allocations: 4 kB / 1.476 GB, free: 4.629 MB / 1.17 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002683/0.6329, allocations: 1.122 MB / 1.478 GB, free: 3.496 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/0.6329, allocations: 9.719 kB / 1.478 GB, free: 3.488 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.6329, allocations: 3.984 kB / 1.478 GB, free: 3.484 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006149/0.6336, allocations: 84.88 kB / 1.478 GB, free: 3.398 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009978/0.6345, allocations: 219.7 kB / 1.478 GB, free: 3.184 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002229/0.6368, allocations: 1.539 MB / 1.479 GB, free: 1.52 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009547/0.6377, allocations: 130.1 kB / 1.48 GB, free: 1.395 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-05/0.6378, allocations: 39.98 kB / 1.48 GB, free: 1.355 MB / 1.17 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.0005843/0.6384, allocations: 321.5 kB / 1.48 GB, free: 1.031 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000243/0.6387, allocations: 127.2 kB / 1.48 GB, free: 0.9062 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003298/0.6419, allocations: 1.513 MB / 1.481 GB, free: 15.38 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.265e-05/0.642, allocations: 12 kB / 1.481 GB, free: 15.36 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.642, allocations: 3.938 kB / 1.481 GB, free: 15.36 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.325e-05/0.642, allocations: 7.922 kB / 1.481 GB, free: 15.35 MB / 1.186 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.005118/0.6471, allocations: 2.522 MB / 1.484 GB, free: 12.76 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/0.6471, allocations: 8.031 kB / 1.484 GB, free: 12.75 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009326/0.648, allocations: 195.8 kB / 1.484 GB, free: 12.56 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004631/0.6485, allocations: 76.77 kB / 1.484 GB, free: 12.48 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.491e-05/0.6486, allocations: 39.97 kB / 1.484 GB, free: 12.45 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002085/0.6507, allocations: 1.562 MB / 1.486 GB, free: 10.77 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.6507, allocations: 4 kB / 1.486 GB, free: 10.76 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003761/0.6544, allocations: 1.874 MB / 1.488 GB, free: 8.848 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007214/0.6552, allocations: 278.8 kB / 1.488 GB, free: 8.574 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001808/0.6553, allocations: 27.94 kB / 1.488 GB, free: 8.547 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008982/0.6562, allocations: 75.92 kB / 1.488 GB, free: 8.473 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001877/0.6564, allocations: 96.7 kB / 1.488 GB, free: 8.379 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.858e-05/0.6565, allocations: 47.97 kB / 1.488 GB, free: 8.332 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001001/0.6575, allocations: 0.6501 MB / 1.489 GB, free: 7.672 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6575, allocations: 0 / 1.489 GB, free: 7.672 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001184/0.6587, allocations: 454.9 kB / 1.489 GB, free: 7.227 MB / 1.186 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.006353/0.6651, allocations: 3.061 MB / 1.492 GB, free: 4.324 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.00231/0.6674, allocations: 1.022 MB / 1.493 GB, free: 3.293 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/0.6674, allocations: 0 / 1.493 GB, free: 3.293 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001305/0.6687, allocations: 0.6335 MB / 1.494 GB, free: 2.648 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002304/0.671, allocations: 0.5274 MB / 1.494 GB, free: 2.141 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01557/0.6865, allocations: 8.872 MB / 1.503 GB, free: 9.074 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006869/0.6872, allocations: 0.5754 MB / 1.504 GB, free: 8.457 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001336/0.6886, allocations: 381.8 kB / 1.504 GB, free: 8.082 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008296/0.6894, allocations: 0.5344 MB / 1.504 GB, free: 7.547 MB / 1.201 GB Notification: Performance of SimCode: time 9.21e-07/0.6894, allocations: 4 kB / 1.504 GB, free: 7.543 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08247/0.7719, allocations: 36.19 MB / 1.54 GB, free: 3.906 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.46/15.23, allocations: 9.875 kB / 1.54 GB, free: 3.898 MB / 1.232 GB " [Timeout remaining time 284] (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) [Timeout 420.0] 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) [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: 23.808205956593156]