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.00177/0.00177, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.002013/0.002013, allocations: 210.1 kB / 23.04 MB, free: 5.07 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.512/1.512, allocations: 230.6 MB / 256.8 MB, free: 8 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.753/2.753, allocations: 476.7 MB / 0.7714 GB, free: 4.316 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.002028/0.002028, allocations: 64.02 kB / 1.118 GB, free: 8.992 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3808/0.3828, allocations: 169.9 MB / 1.284 GB, free: 3.891 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.222/0.6048, allocations: 171.9 MB / 1.452 GB, free: 7.336 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.02658/0.6314, allocations: 17.46 MB / 1.469 GB, free: 5.82 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002551/0.634, allocations: 43.62 kB / 1.469 GB, free: 5.777 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.002216/0.6362, allocations: 0.5662 MB / 1.47 GB, free: 5.207 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.006701/0.6429, allocations: 1.683 MB / 1.471 GB, free: 3.516 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.004338/0.6472, allocations: 1.373 MB / 1.473 GB, free: 2.152 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.004978/0.6522, allocations: 2.735 MB / 1.475 GB, free: 15.41 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00323/0.6554, allocations: 1.539 MB / 1.477 GB, free: 13.81 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005563/0.661, allocations: 1.448 MB / 1.478 GB, free: 12.41 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002085/0.6631, allocations: 1.004 MB / 1.479 GB, free: 11.4 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0005756/0.6637, allocations: 212 kB / 1.479 GB, free: 11.19 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003928/0.6676, allocations: 1.513 MB / 1.481 GB, free: 9.676 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.000714/0.6683, allocations: 0.5646 MB / 1.481 GB, free: 9.109 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001578/0.6699, allocations: 1.042 MB / 1.482 GB, free: 8.062 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.00674/0.6766, allocations: 3.18 MB / 1.486 GB, free: 4.871 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/0.6766, allocations: 4 kB / 1.486 GB, free: 4.867 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.174e-06/0.6766, allocations: 0 / 1.486 GB, free: 4.867 MB / 1.186 GB Notification: Performance of Transformations before backend: time 8.764e-05/0.6767, allocations: 0 / 1.486 GB, free: 4.867 MB / 1.186 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.005364/0.6821, allocations: 2.298 MB / 1.488 GB, free: 2.52 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 8.075e-05/0.6822, allocations: 12.03 kB / 1.488 GB, free: 2.508 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.486e-05/0.6822, allocations: 47.34 kB / 1.488 GB, free: 2.461 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004048/0.6826, allocations: 253 kB / 1.488 GB, free: 2.203 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004499/0.6871, allocations: 0.5802 MB / 1.489 GB, free: 1.621 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002501/0.6896, allocations: 1.057 MB / 1.49 GB, free: 0.5312 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001365/0.6898, allocations: 131.4 kB / 1.49 GB, free: 412 kB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002779/0.69, allocations: 163.9 kB / 1.49 GB, free: 248 kB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003896/0.6939, allocations: 1.839 MB / 1.492 GB, free: 14.35 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.431e-05/0.694, allocations: 0 / 1.492 GB, free: 14.35 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002329/0.6942, allocations: 72 kB / 1.492 GB, free: 14.28 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.239e-05/0.6943, allocations: 44 kB / 1.492 GB, free: 14.24 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003896/0.6981, allocations: 1.875 MB / 1.494 GB, free: 12.36 MB / 1.201 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.009919/0.7081, allocations: 5.469 MB / 1.499 GB, free: 6.551 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003372/0.7114, allocations: 1.37 MB / 1.5 GB, free: 5.18 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001515/0.713, allocations: 0.5933 MB / 1.501 GB, free: 4.586 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001125/0.7141, allocations: 185.1 kB / 1.501 GB, free: 4.406 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00226/0.7163, allocations: 0.8982 MB / 1.502 GB, free: 3.492 MB / 1.201 GB Notification: Performance of pre-optimization done (n=146): time 5.019e-06/0.7163, allocations: 0 / 1.502 GB, free: 3.492 MB / 1.201 GB Notification: Performance of matching and sorting (n=146): time 0.007414/0.7238, allocations: 2.188 MB / 1.504 GB, free: 1.281 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002368/0.724, allocations: 197.2 kB / 1.504 GB, free: 1.047 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001985/0.726, allocations: 0.8555 MB / 1.505 GB, free: 172 kB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0003429/0.7263, allocations: 57.7 kB / 1.505 GB, free: 108 kB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.001013/0.7273, allocations: 0.6695 MB / 1.506 GB, free: 15.42 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007575/0.7281, allocations: 0.4956 MB / 1.506 GB, free: 14.93 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005145/0.7286, allocations: 234.8 kB / 1.507 GB, free: 14.69 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002256/0.7288, allocations: 357.9 kB / 1.507 GB, free: 14.34 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00114/0.73, allocations: 470.4 kB / 1.507 GB, free: 13.88 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001339/0.7313, allocations: 0.6375 MB / 1.508 GB, free: 13.2 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002327/0.7336, allocations: 1.103 MB / 1.509 GB, free: 12.09 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.515e-06/0.7336, allocations: 0 / 1.509 GB, free: 12.09 MB / 1.217 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004066/0.7377, allocations: 1.504 MB / 1.511 GB, free: 10.56 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 3.366e-05/0.7377, allocations: 4 kB / 1.511 GB, free: 10.55 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/0.7378, allocations: 4 kB / 1.511 GB, free: 10.55 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009926/0.7388, allocations: 188.2 kB / 1.511 GB, free: 10.35 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001735/0.7405, allocations: 327.5 kB / 1.511 GB, free: 10.03 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007254/0.7477, allocations: 6.782 MB / 1.518 GB, free: 2.668 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001715/0.7495, allocations: 153.3 kB / 1.518 GB, free: 2.52 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001802/0.7496, allocations: 55.89 kB / 1.518 GB, free: 2.465 MB / 1.217 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.001038/0.7507, allocations: 377.8 kB / 1.518 GB, free: 2.086 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004813/0.7512, allocations: 139.2 kB / 1.518 GB, free: 1.949 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004885/0.756, allocations: 1.847 MB / 1.52 GB, free: 80 kB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.178e-05/0.7561, allocations: 19.94 kB / 1.52 GB, free: 60 kB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/0.7561, allocations: 0 / 1.52 GB, free: 60 kB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-05/0.7561, allocations: 7.969 kB / 1.52 GB, free: 52 kB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007665/0.7638, allocations: 3.432 MB / 1.524 GB, free: 12.55 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.045e-06/0.7638, allocations: 0 / 1.524 GB, free: 12.55 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001531/0.7653, allocations: 307.6 kB / 1.524 GB, free: 12.25 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008571/0.7662, allocations: 192.1 kB / 1.524 GB, free: 12.04 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002334/0.7664, allocations: 43.95 kB / 1.524 GB, free: 12 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006811/0.7732, allocations: 6.807 MB / 1.531 GB, free: 4.617 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.7732, allocations: 0 / 1.531 GB, free: 4.617 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004434/0.7776, allocations: 1.721 MB / 1.532 GB, free: 2.863 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009759/0.7786, allocations: 330.6 kB / 1.533 GB, free: 2.539 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002393/0.7788, allocations: 28 kB / 1.533 GB, free: 2.512 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001275/0.7801, allocations: 110.3 kB / 1.533 GB, free: 2.406 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003068/0.7804, allocations: 117.1 kB / 1.533 GB, free: 2.289 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001773/0.7806, allocations: 71.88 kB / 1.533 GB, free: 2.219 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0009633/0.7816, allocations: 0.6025 MB / 1.534 GB, free: 1.605 MB / 1.232 GB Notification: Performance of sort global known variables: time 6e-08/0.7816, allocations: 0 / 1.534 GB, free: 1.605 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001947/0.7835, allocations: 0.6116 MB / 1.534 GB, free: 0.9922 MB / 1.232 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.007067/0.7906, allocations: 2.892 MB / 1.537 GB, free: 14.24 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.004109/0.7947, allocations: 1.774 MB / 1.539 GB, free: 12.4 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 1.102e-05/0.7947, allocations: 4.656 kB / 1.539 GB, free: 12.39 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.002289/0.797, allocations: 1.258 MB / 1.54 GB, free: 11.07 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00281/0.7998, allocations: 0.518 MB / 1.541 GB, free: 10.57 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02118/0.821, allocations: 10.05 MB / 1.55 GB, free: 356 kB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001086/0.8221, allocations: 1.304 MB / 1.552 GB, free: 15.01 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.0018/0.8239, allocations: 438.3 kB / 1.552 GB, free: 14.58 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001094/0.825, allocations: 0.6593 MB / 1.553 GB, free: 13.92 MB / 1.264 GB Notification: Performance of SimCode: time 1.443e-06/0.825, allocations: 0 / 1.553 GB, free: 13.92 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7341/1.559, allocations: 39.14 MB / 1.591 GB, free: 273.1 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.12/18.68, allocations: 7.156 kB / 1.591 GB, free: 273.1 MB / 1.264 GB " [Timeout remaining time 281] (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.823175926983822]