Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData.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.001647/0.001647, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002027/0.002027, allocations: 211.2 kB / 22.24 MB, free: 4.859 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.54/1.54, allocations: 230.6 MB / 256 MB, free: 7.805 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.962/2.962, allocations: 475.9 MB / 0.7699 GB, free: 4.75 MB / 0.6231 GB " [Timeout remaining time 176] 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: translateModel(Buildings.Fluid.Sources.Examples.Outside_CpData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData") [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.002174/0.002174, allocations: 66.83 kB / 1.117 GB, free: 41.03 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.401/0.4032, allocations: 170 MB / 1.283 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.2094/0.6126, allocations: 148.3 MB / 1.428 GB, free: 7.102 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.02881/0.6414, allocations: 16.18 MB / 1.444 GB, free: 6.863 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002015/0.6434, allocations: 43.62 kB / 1.444 GB, free: 6.82 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.002244/0.6456, allocations: 0.5661 MB / 1.444 GB, free: 6.25 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.006197/0.6518, allocations: 1.842 MB / 1.446 GB, free: 4.406 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.004469/0.6563, allocations: 1.465 MB / 1.447 GB, free: 2.953 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.004953/0.6612, allocations: 2.898 MB / 1.45 GB, free: 44 kB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003513/0.6648, allocations: 1.567 MB / 1.452 GB, free: 14.42 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005721/0.6705, allocations: 1.52 MB / 1.453 GB, free: 12.95 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002541/0.673, allocations: 1.058 MB / 1.454 GB, free: 11.88 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.001088/0.6741, allocations: 224 kB / 1.455 GB, free: 11.66 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00506/0.6792, allocations: 1.454 MB / 1.456 GB, free: 10.21 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.001446/0.6806, allocations: 0.8023 MB / 1.457 GB, free: 9.402 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.002079/0.6827, allocations: 0.9992 MB / 1.458 GB, free: 8.398 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.00725/0.6899, allocations: 3.666 MB / 1.461 GB, free: 4.719 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 1.007e-05/0.69, allocations: 0 / 1.461 GB, free: 4.719 MB / 1.154 GB Notification: Performance of FrontEnd: time 4.408e-06/0.69, allocations: 0 / 1.461 GB, free: 4.719 MB / 1.154 GB Notification: Performance of Transformations before backend: time 0.0001231/0.6901, allocations: 0 / 1.461 GB, free: 4.719 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: 430 * Number of variables: 430 Notification: Performance of Generate backend data structure: time 0.006499/0.6966, allocations: 2.782 MB / 1.464 GB, free: 1.883 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.369e-05/0.6966, allocations: 12.03 kB / 1.464 GB, free: 1.871 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00438/0.701, allocations: 0.6267 MB / 1.465 GB, free: 1.242 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003316/0.7043, allocations: 1.572 MB / 1.466 GB, free: 15.63 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001304/0.7045, allocations: 123.4 kB / 1.466 GB, free: 15.51 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002497/0.7047, allocations: 172 kB / 1.466 GB, free: 15.34 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004518/0.7092, allocations: 2.701 MB / 1.469 GB, free: 12.4 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.517e-05/0.7093, allocations: 0 / 1.469 GB, free: 12.4 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001721/0.7094, allocations: 72 kB / 1.469 GB, free: 12.33 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-05/0.7095, allocations: 40 kB / 1.469 GB, free: 12.29 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003741/0.7132, allocations: 2.042 MB / 1.471 GB, free: 10.25 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.01003/0.7232, allocations: 4.212 MB / 1.475 GB, free: 5.965 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003852/0.7271, allocations: 1.696 MB / 1.477 GB, free: 4.266 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00215/0.7293, allocations: 0.7104 MB / 1.478 GB, free: 3.555 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006909/0.7299, allocations: 113.2 kB / 1.478 GB, free: 3.445 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003651/0.7336, allocations: 1.615 MB / 1.479 GB, free: 1.664 MB / 1.17 GB Notification: Performance of pre-optimization done (n=146): time 6.372e-06/0.7336, allocations: 0 / 1.479 GB, free: 1.664 MB / 1.17 GB Notification: Performance of matching and sorting (n=146): time 0.0115/0.7451, allocations: 2.574 MB / 1.482 GB, free: 15.07 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001851/0.7453, allocations: 201.2 kB / 1.482 GB, free: 14.83 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003917/0.7492, allocations: 1.713 MB / 1.484 GB, free: 13.1 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0003569/0.7496, allocations: 57.7 kB / 1.484 GB, free: 13.04 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.001172/0.7507, allocations: 0.8592 MB / 1.485 GB, free: 12.16 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007277/0.7515, allocations: 0.4957 MB / 1.485 GB, free: 11.66 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006702/0.7521, allocations: 262.8 kB / 1.485 GB, free: 11.4 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002451/0.7524, allocations: 357.9 kB / 1.486 GB, free: 11.05 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001803/0.7542, allocations: 0.5882 MB / 1.486 GB, free: 10.46 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002413/0.7566, allocations: 1.24 MB / 1.487 GB, free: 9.059 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003782/0.7604, allocations: 1.329 MB / 1.489 GB, free: 7.719 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.663e-06/0.7604, allocations: 4 kB / 1.489 GB, free: 7.715 MB / 1.186 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.006302/0.7667, allocations: 1.796 MB / 1.491 GB, free: 5.895 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 3.624e-05/0.7667, allocations: 10.03 kB / 1.491 GB, free: 5.887 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.678e-05/0.7667, allocations: 8.031 kB / 1.491 GB, free: 5.879 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001781/0.7685, allocations: 212.1 kB / 1.491 GB, free: 5.656 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00284/0.7713, allocations: 331.5 kB / 1.491 GB, free: 5.332 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01006/0.7814, allocations: 6.675 MB / 1.498 GB, free: 14.14 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002653/0.7841, allocations: 147.3 kB / 1.498 GB, free: 14 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000285/0.7843, allocations: 63.95 kB / 1.498 GB, free: 13.94 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (152): * Single equations (assignments): 147 * 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.001701/0.786, allocations: 483.4 kB / 1.498 GB, free: 13.45 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008679/0.7869, allocations: 186.8 kB / 1.498 GB, free: 13.27 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007993/0.7949, allocations: 2.112 MB / 1.5 GB, free: 11.13 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.27e-05/0.7949, allocations: 16 kB / 1.5 GB, free: 11.11 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.731e-05/0.7949, allocations: 4 kB / 1.501 GB, free: 11.11 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.782e-05/0.795, allocations: 11.91 kB / 1.501 GB, free: 11.1 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01144/0.8064, allocations: 3.506 MB / 1.504 GB, free: 7.531 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.238e-06/0.8064, allocations: 4 kB / 1.504 GB, free: 7.527 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002197/0.8086, allocations: 315.5 kB / 1.504 GB, free: 7.219 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001258/0.8099, allocations: 212.1 kB / 1.504 GB, free: 6.996 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001691/0.81, allocations: 43.95 kB / 1.504 GB, free: 6.953 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0087/0.8187, allocations: 6.71 MB / 1.511 GB, free: 15.72 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.8187, allocations: 0 / 1.511 GB, free: 15.72 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007069/0.8258, allocations: 1.993 MB / 1.513 GB, free: 13.7 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001936/0.8277, allocations: 402.1 kB / 1.513 GB, free: 13.3 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003643/0.8281, allocations: 28 kB / 1.513 GB, free: 13.27 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001808/0.8299, allocations: 103.1 kB / 1.513 GB, free: 13.18 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004109/0.8303, allocations: 121.1 kB / 1.514 GB, free: 13.06 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002926/0.8306, allocations: 71.94 kB / 1.514 GB, free: 12.99 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.003198/0.8338, allocations: 1.22 MB / 1.515 GB, free: 11.77 MB / 1.217 GB Notification: Performance of sort global known variables: time 2.51e-07/0.8338, allocations: 0 / 1.515 GB, free: 11.77 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.003006/0.8368, allocations: 0.7014 MB / 1.516 GB, free: 11.07 MB / 1.217 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.003743/0.8406, allocations: 0.7791 MB / 1.516 GB, free: 10.48 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.006192/0.8468, allocations: 2.024 MB / 1.518 GB, free: 8.395 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 1.018e-05/0.8468, allocations: 0.6562 kB / 1.518 GB, free: 8.395 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.002882/0.8497, allocations: 1.364 MB / 1.52 GB, free: 6.969 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002586/0.8522, allocations: 0.5222 MB / 1.52 GB, free: 6.477 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00764/0.8599, allocations: 3.789 MB / 1.524 GB, free: 2.648 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001238/0.8611, allocations: 0.9528 MB / 1.525 GB, free: 1.656 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.002052/0.8632, allocations: 0.5001 MB / 1.525 GB, free: 1.152 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005306/0.8637, allocations: 171.3 kB / 1.525 GB, free: 0.9844 MB / 1.217 GB Notification: Performance of SimCode: time 1.352e-06/0.8637, allocations: 4 kB / 1.525 GB, free: 0.9805 MB / 1.217 GB Notification: Performance of Templates: time 0.06603/0.9297, allocations: 34.37 MB / 1.559 GB, free: 15.13 MB / 1.264 GB " [Timeout remaining time 298] make -j1 -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData.sim & ./Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sources_Examples_Outside_CpData.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData.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: 11.022249888628721]