Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.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.001395/0.001395, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001627/0.001627, allocations: 219.3 kB / 23.03 MB, free: 4.922 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.461/1.461, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.74/2.74, allocations: 476.8 MB / 0.7715 GB, free: 3.906 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_CpLowRise,fileNamePrefix="Buildings_11_Buildings_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="Buildings_11_Buildings_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="cs",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.001966/0.001966, allocations: 64.67 kB / 1.118 GB, free: 39.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3491/0.3511, allocations: 170 MB / 1.284 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.213/0.5641, allocations: 148.1 MB / 1.429 GB, free: 5.98 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.0249/0.589, allocations: 15.92 MB / 1.444 GB, free: 6.016 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002229/0.5912, allocations: 39.62 kB / 1.444 GB, free: 5.977 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.002121/0.5933, allocations: 0.5389 MB / 1.445 GB, free: 5.434 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.006472/0.5998, allocations: 1.666 MB / 1.446 GB, free: 3.762 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.004332/0.6041, allocations: 1.355 MB / 1.448 GB, free: 2.418 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.004954/0.6091, allocations: 2.731 MB / 1.45 GB, free: 15.68 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003179/0.6123, allocations: 1.536 MB / 1.452 GB, free: 14.08 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005502/0.6178, allocations: 1.454 MB / 1.453 GB, free: 12.67 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002211/0.62, allocations: 1.011 MB / 1.454 GB, free: 11.66 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0006696/0.6206, allocations: 208 kB / 1.455 GB, free: 11.45 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003687/0.6243, allocations: 1.318 MB / 1.456 GB, free: 10.13 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0008052/0.6251, allocations: 0.5608 MB / 1.456 GB, free: 9.57 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.001545/0.6267, allocations: 0.8672 MB / 1.457 GB, free: 8.699 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.006596/0.6333, allocations: 3.168 MB / 1.46 GB, free: 5.52 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 8.786e-06/0.6333, allocations: 4 kB / 1.46 GB, free: 5.516 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.794e-06/0.6333, allocations: 0 / 1.46 GB, free: 5.516 MB / 1.154 GB Notification: Performance of Transformations before backend: time 8.26e-05/0.6334, allocations: 0 / 1.46 GB, free: 5.516 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: 434 * Number of variables: 434 Notification: Performance of Generate backend data structure: time 0.005457/0.6388, allocations: 2.294 MB / 1.463 GB, free: 3.172 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 6.106e-05/0.6389, allocations: 12.03 kB / 1.463 GB, free: 3.16 MB / 1.154 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.734e-05/0.639, allocations: 43.41 kB / 1.463 GB, free: 3.117 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003448/0.6393, allocations: 249 kB / 1.463 GB, free: 2.863 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004761/0.6441, allocations: 0.5802 MB / 1.463 GB, free: 2.281 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002905/0.647, allocations: 1.057 MB / 1.464 GB, free: 1.191 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001445/0.6471, allocations: 131.4 kB / 1.465 GB, free: 1.062 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003279/0.6475, allocations: 163.9 kB / 1.465 GB, free: 0.9023 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004626/0.6521, allocations: 2.601 MB / 1.467 GB, free: 14.07 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.379e-05/0.6521, allocations: 0 / 1.467 GB, free: 14.07 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002159/0.6523, allocations: 72 kB / 1.467 GB, free: 14 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-05/0.6524, allocations: 47.94 kB / 1.467 GB, free: 13.95 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003864/0.6562, allocations: 1.875 MB / 1.469 GB, free: 12.07 MB / 1.17 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.009232/0.6655, allocations: 3.967 MB / 1.473 GB, free: 8.023 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003045/0.6685, allocations: 1.364 MB / 1.474 GB, free: 6.66 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001193/0.6697, allocations: 0.5936 MB / 1.475 GB, free: 6.066 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001129/0.6708, allocations: 177.1 kB / 1.475 GB, free: 5.895 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002161/0.673, allocations: 1.502 MB / 1.477 GB, free: 4.227 MB / 1.17 GB Notification: Performance of pre-optimization done (n=146): time 3.867e-06/0.673, allocations: 7.938 kB / 1.477 GB, free: 4.219 MB / 1.17 GB Notification: Performance of matching and sorting (n=146): time 0.006417/0.6794, allocations: 2.184 MB / 1.479 GB, free: 2.012 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001274/0.6795, allocations: 201.2 kB / 1.479 GB, free: 1.773 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001278/0.6808, allocations: 0.8594 MB / 1.48 GB, free: 0.8906 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0001771/0.681, allocations: 57.69 kB / 1.48 GB, free: 0.8281 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006051/0.6816, allocations: 0.6655 MB / 1.48 GB, free: 156 kB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004906/0.6821, allocations: 0.4959 MB / 1.481 GB, free: 15.65 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004752/0.6826, allocations: 238.8 kB / 1.481 GB, free: 15.41 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001664/0.6827, allocations: 357.9 kB / 1.482 GB, free: 15.05 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001028/0.6838, allocations: 478.4 kB / 1.482 GB, free: 14.59 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001317/0.6851, allocations: 0.86 MB / 1.483 GB, free: 13.63 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002244/0.6873, allocations: 1.099 MB / 1.484 GB, free: 12.52 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.634e-06/0.6873, allocations: 4 kB / 1.484 GB, free: 12.52 MB / 1.186 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003816/0.6911, allocations: 1.5 MB / 1.485 GB, free: 11 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.658e-05/0.6912, allocations: 4 kB / 1.485 GB, free: 11 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/0.6912, allocations: 0 / 1.485 GB, free: 11 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001019/0.6922, allocations: 196.2 kB / 1.486 GB, free: 10.79 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001717/0.6939, allocations: 327.6 kB / 1.486 GB, free: 10.47 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006556/0.7005, allocations: 6.748 MB / 1.492 GB, free: 3.141 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001541/0.702, allocations: 155.1 kB / 1.493 GB, free: 2.988 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001564/0.7022, allocations: 51.97 kB / 1.493 GB, free: 2.938 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (148): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0008745/0.703, allocations: 373.7 kB / 1.493 GB, free: 2.562 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003716/0.7034, allocations: 143.1 kB / 1.493 GB, free: 2.422 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004373/0.7078, allocations: 1.847 MB / 1.495 GB, free: 0.5469 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.442e-05/0.7078, allocations: 16 kB / 1.495 GB, free: 0.5312 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.7078, allocations: 0 / 1.495 GB, free: 0.5312 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.589e-05/0.7078, allocations: 7.969 kB / 1.495 GB, free: 0.5234 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00681/0.7146, allocations: 3.202 MB / 1.498 GB, free: 13.25 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/0.7147, allocations: 0 / 1.498 GB, free: 13.25 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001532/0.7162, allocations: 311.5 kB / 1.498 GB, free: 12.95 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008064/0.717, allocations: 184.1 kB / 1.499 GB, free: 12.75 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001369/0.7171, allocations: 39.97 kB / 1.499 GB, free: 12.71 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006328/0.7235, allocations: 6.783 MB / 1.505 GB, free: 5.352 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.7235, allocations: 4.25 kB / 1.505 GB, free: 5.348 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004374/0.7278, allocations: 1.721 MB / 1.507 GB, free: 3.594 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009902/0.7288, allocations: 342.5 kB / 1.507 GB, free: 3.258 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002844/0.7291, allocations: 35.92 kB / 1.507 GB, free: 3.223 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001354/0.7305, allocations: 99.09 kB / 1.507 GB, free: 3.129 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003055/0.7308, allocations: 117.1 kB / 1.508 GB, free: 3.012 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001764/0.7309, allocations: 76.03 kB / 1.508 GB, free: 2.938 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0009729/0.7319, allocations: 0.6102 MB / 1.508 GB, free: 2.316 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7319, allocations: 4 kB / 1.508 GB, free: 2.312 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.00195/0.7339, allocations: 0.6001 MB / 1.509 GB, free: 1.711 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (149): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006969/0.7408, allocations: 2.932 MB / 1.512 GB, free: 14.95 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.003921/0.7448, allocations: 1.778 MB / 1.513 GB, free: 13.11 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 1.022e-05/0.7448, allocations: 0.6562 kB / 1.513 GB, free: 13.1 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.002288/0.7471, allocations: 1.25 MB / 1.515 GB, free: 11.79 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002772/0.7498, allocations: 0.5279 MB / 1.515 GB, free: 11.29 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02149/0.7713, allocations: 10.03 MB / 1.525 GB, free: 1.074 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000897/0.7722, allocations: 0.7177 MB / 1.526 GB, free: 332 kB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001904/0.7741, allocations: 458.4 kB / 1.526 GB, free: 15.87 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001072/0.7752, allocations: 0.6554 MB / 1.527 GB, free: 15.21 MB / 1.232 GB Notification: Performance of SimCode: time 1.212e-06/0.7752, allocations: 0 / 1.527 GB, free: 15.21 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0958/0.871, allocations: 40.9 MB / 1.567 GB, free: 6.953 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.24/18.11, allocations: 4.062 kB / 1.567 GB, free: 6.949 MB / 1.264 GB " [Timeout remaining time 282] (rm -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sources_Examples_Outside_CpLowRise_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --stepSize=241.92 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sources_Examples_Outside_CpLowRise.fmu > Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sources_Examples_Outside_CpLowRise.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 25.21941642498132]