Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001269/0.001269, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001409/0.001409, allocations: 207.8 kB / 22.99 MB, free: 4.957 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.453/1.453, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.223/3.223, allocations: 0.49 GB / 0.7959 GB, free: 35.45 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002061/0.002061, allocations: 73.33 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2959/0.298, allocations: 176.1 MB / 1.327 GB, free: 1.008 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.1865/0.4845, allocations: 148.3 MB / 1.472 GB, free: 12.11 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.02294/0.5074, allocations: 16.2 MB / 1.488 GB, free: 11.86 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001524/0.509, allocations: 43.62 kB / 1.488 GB, free: 11.82 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001536/0.5105, allocations: 0.5545 MB / 1.488 GB, free: 11.26 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.005031/0.5155, allocations: 1.845 MB / 1.49 GB, free: 9.414 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.003574/0.5191, allocations: 1.462 MB / 1.492 GB, free: 7.965 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.003556/0.5227, allocations: 2.898 MB / 1.494 GB, free: 5.055 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002296/0.525, allocations: 1.598 MB / 1.496 GB, free: 3.398 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004295/0.5293, allocations: 1.524 MB / 1.497 GB, free: 1.918 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001597/0.5309, allocations: 1.151 MB / 1.499 GB, free: 0.7617 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0003484/0.5312, allocations: 224 kB / 1.499 GB, free: 0.543 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002919/0.5341, allocations: 1.486 MB / 1.5 GB, free: 15.05 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0007239/0.5348, allocations: 0.8023 MB / 1.501 GB, free: 14.25 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.001057/0.5359, allocations: 1.003 MB / 1.502 GB, free: 13.24 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.004617/0.5405, allocations: 3.662 MB / 1.506 GB, free: 9.566 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.5405, allocations: 0 / 1.506 GB, free: 9.566 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.282e-06/0.5405, allocations: 0 / 1.506 GB, free: 9.566 MB / 1.201 GB Notification: Performance of Transformations before backend: time 2.932e-05/0.5406, allocations: 0 / 1.506 GB, free: 9.566 MB / 1.201 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.004911/0.5455, allocations: 2.786 MB / 1.508 GB, free: 6.727 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.5455, allocations: 8.031 kB / 1.508 GB, free: 6.719 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004656/0.5502, allocations: 0.6267 MB / 1.509 GB, free: 6.09 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002891/0.553, allocations: 1.568 MB / 1.51 GB, free: 4.484 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000123/0.5532, allocations: 131.4 kB / 1.511 GB, free: 4.355 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002576/0.5534, allocations: 164 kB / 1.511 GB, free: 4.195 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004031/0.5575, allocations: 2.701 MB / 1.513 GB, free: 1.258 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.811e-05/0.5575, allocations: 3.938 kB / 1.513 GB, free: 1.254 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001746/0.5577, allocations: 79.98 kB / 1.513 GB, free: 1.176 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.658e-05/0.5577, allocations: 40 kB / 1.513 GB, free: 1.137 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003728/0.5614, allocations: 2.035 MB / 1.515 GB, free: 15.1 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008359/0.5698, allocations: 4.22 MB / 1.52 GB, free: 10.8 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003296/0.5731, allocations: 1.704 MB / 1.521 GB, free: 9.094 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001299/0.5744, allocations: 0.7022 MB / 1.522 GB, free: 8.383 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004743/0.5749, allocations: 113.2 kB / 1.522 GB, free: 8.273 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002302/0.5772, allocations: 1.615 MB / 1.524 GB, free: 6.492 MB / 1.217 GB Notification: Performance of pre-optimization done (n=146): time 3.607e-06/0.5772, allocations: 0 / 1.524 GB, free: 6.492 MB / 1.217 GB Notification: Performance of matching and sorting (n=146): time 0.007097/0.5843, allocations: 2.574 MB / 1.526 GB, free: 3.895 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001224/0.5844, allocations: 197.2 kB / 1.526 GB, free: 3.66 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002314/0.5867, allocations: 1.709 MB / 1.528 GB, free: 1.934 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0001494/0.5869, allocations: 65.7 kB / 1.528 GB, free: 1.863 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008029/0.5877, allocations: 0.8591 MB / 1.529 GB, free: 0.9922 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004566/0.5881, allocations: 0.4957 MB / 1.529 GB, free: 0.4922 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004415/0.5886, allocations: 254.8 kB / 1.53 GB, free: 244 kB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001926/0.5887, allocations: 361.9 kB / 1.53 GB, free: 15.88 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001197/0.5899, allocations: 0.5882 MB / 1.531 GB, free: 15.29 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001671/0.5916, allocations: 1.224 MB / 1.532 GB, free: 13.91 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002567/0.5942, allocations: 1.337 MB / 1.533 GB, free: 12.56 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.5942, allocations: 4 kB / 1.533 GB, free: 12.56 MB / 1.232 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.004242/0.5984, allocations: 1.804 MB / 1.535 GB, free: 10.73 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.567e-05/0.5985, allocations: 9.875 kB / 1.535 GB, free: 10.72 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.5985, allocations: 0 / 1.535 GB, free: 10.72 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001238/0.5997, allocations: 216.1 kB / 1.535 GB, free: 10.5 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001707/0.6014, allocations: 335.6 kB / 1.535 GB, free: 10.17 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006803/0.6082, allocations: 6.673 MB / 1.542 GB, free: 2.98 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001751/0.61, allocations: 159.2 kB / 1.542 GB, free: 2.824 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001556/0.6101, allocations: 59.95 kB / 1.542 GB, free: 2.766 MB / 1.232 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.0009956/0.6111, allocations: 479.2 kB / 1.543 GB, free: 2.289 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004285/0.6115, allocations: 186.8 kB / 1.543 GB, free: 2.105 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004797/0.6163, allocations: 2.105 MB / 1.545 GB, free: 15.97 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.486e-05/0.6164, allocations: 16 kB / 1.545 GB, free: 15.95 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.073e-05/0.6164, allocations: 8 kB / 1.545 GB, free: 15.95 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.561e-05/0.6164, allocations: 11.97 kB / 1.545 GB, free: 15.93 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007108/0.6235, allocations: 3.502 MB / 1.548 GB, free: 12.38 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.6235, allocations: 0 / 1.548 GB, free: 12.38 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001599/0.6251, allocations: 315.6 kB / 1.549 GB, free: 12.07 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009865/0.6261, allocations: 212.1 kB / 1.549 GB, free: 11.84 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001082/0.6262, allocations: 39.97 kB / 1.549 GB, free: 11.8 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00642/0.6326, allocations: 6.708 MB / 1.555 GB, free: 4.57 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/0.6326, allocations: 3.984 kB / 1.555 GB, free: 4.566 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00451/0.6371, allocations: 1.993 MB / 1.557 GB, free: 2.535 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001014/0.6381, allocations: 394.2 kB / 1.558 GB, free: 2.148 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002352/0.6384, allocations: 35.92 kB / 1.558 GB, free: 2.113 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001342/0.6397, allocations: 102.8 kB / 1.558 GB, free: 2.016 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002498/0.64, allocations: 121 kB / 1.558 GB, free: 1.898 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001645/0.6401, allocations: 67.95 kB / 1.558 GB, free: 1.832 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001663/0.6418, allocations: 1.228 MB / 1.559 GB, free: 0.6055 MB / 1.248 GB Notification: Performance of sort global known variables: time 8e-08/0.6418, allocations: 0 / 1.559 GB, free: 0.6055 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.00179/0.6436, allocations: 0.6976 MB / 1.56 GB, free: 15.9 MB / 1.264 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.00248/0.6461, allocations: 0.7757 MB / 1.561 GB, free: 15.34 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.00368/0.6497, allocations: 2.031 MB / 1.563 GB, free: 13.24 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.6497, allocations: 0.6562 kB / 1.563 GB, free: 13.24 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.00222/0.652, allocations: 1.36 MB / 1.564 GB, free: 11.82 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002343/0.6543, allocations: 0.5116 MB / 1.564 GB, free: 11.32 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006652/0.661, allocations: 3.791 MB / 1.568 GB, free: 7.504 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001105/0.6621, allocations: 0.9528 MB / 1.569 GB, free: 6.512 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.001755/0.6638, allocations: 0.5078 MB / 1.57 GB, free: 6 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005252/0.6643, allocations: 175.4 kB / 1.57 GB, free: 5.832 MB / 1.264 GB Notification: Performance of SimCode: time 5.81e-07/0.6644, allocations: 0 / 1.57 GB, free: 5.832 MB / 1.264 GB Notification: Performance of Templates: time 0.05852/0.7229, allocations: 34.77 MB / 1.604 GB, free: 3.535 MB / 1.295 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData.sim & ./Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Examples_Outside_CpData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.65552555800241]