Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.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.001899/0.001899, allocations: 82.48 kB / 19.18 MB, free: 2.527 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.002282/0.002282, allocations: 170.8 kB / 22.47 MB, free: 5.359 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.506/1.506, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.009/3.009, allocations: 377.8 MB / 0.6221 GB, free: 12.58 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.Validation.Outside_CpData_Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|winDir.y|nor.pWin|eas.pWin|sou.pWin|wes.pWin|nor.alpha|eas.alpha|sou.alpha|wes.alpha",fileNamePrefix="Buildings_12_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions") translateModel(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|winDir.y|nor.pWin|eas.pWin|sou.pWin|wes.pWin|nor.alpha|eas.alpha|sou.alpha|wes.alpha",fileNamePrefix="Buildings_12_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 0.9814 GB, free: 10.94 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.902e-05/3.085e-05, allocations: 6.281 kB / 0.9814 GB, free: 10.93 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.8466/0.8466, allocations: 148.3 MB / 1.126 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02153/0.8681, allocations: 16.18 MB / 1.142 GB, free: 13.67 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00233/0.8704, allocations: 42.09 kB / 1.142 GB, free: 13.67 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001893/0.8723, allocations: 0.5678 MB / 1.143 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006188/0.8785, allocations: 1.891 MB / 1.144 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004079/0.8826, allocations: 1.501 MB / 1.146 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00407/0.8867, allocations: 2.996 MB / 1.149 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002394/0.8891, allocations: 1.594 MB / 1.15 GB, free: 12.62 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005325/0.8944, allocations: 2.027 MB / 1.152 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001631/0.896, allocations: 0.9415 MB / 1.153 GB, free: 12.35 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000421/0.8964, allocations: 229.5 kB / 1.154 GB, free: 12.35 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003466/0.8999, allocations: 1.481 MB / 1.155 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000643/0.9006, allocations: 0.8405 MB / 1.156 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001083/0.9016, allocations: 0.8465 MB / 1.157 GB, free: 11.47 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005124/0.9068, allocations: 3.853 MB / 1.16 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.9068, allocations: 0 / 1.16 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.333e-06/0.9068, allocations: 0 / 1.16 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.752e-05/0.9068, allocations: 0 / 1.16 GB, free: 10.22 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 436 * Number of variables: 436 Notification: Performance of Generate backend data structure: time 0.0046/0.9114, allocations: 2.807 MB / 1.163 GB, free: 8.504 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.9114, allocations: 8.5 kB / 1.163 GB, free: 8.504 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004616/0.9161, allocations: 0.6236 MB / 1.164 GB, free: 8.34 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002738/0.9188, allocations: 1.587 MB / 1.165 GB, free: 7.574 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001045/0.9189, allocations: 137 kB / 1.165 GB, free: 7.516 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002516/0.9192, allocations: 172.9 kB / 1.166 GB, free: 7.461 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003532/0.9227, allocations: 2.731 MB / 1.168 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.328e-05/0.9227, allocations: 0 / 1.168 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001691/0.9229, allocations: 85.12 kB / 1.168 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.801e-05/0.9229, allocations: 42.38 kB / 1.168 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003618/0.9265, allocations: 2.073 MB / 1.17 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0085/0.935, allocations: 4.444 MB / 1.175 GB, free: 3.086 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003152/0.9382, allocations: 1.77 MB / 1.177 GB, free: 2.52 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001244/0.9394, allocations: 0.7321 MB / 1.177 GB, free: 2.273 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004299/0.9399, allocations: 117.6 kB / 1.177 GB, free: 2.258 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001892/0.9418, allocations: 1.64 MB / 1.179 GB, free: 1.145 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=154): time 3.717e-06/0.9418, allocations: 1.281 kB / 1.179 GB, free: 1.145 MB / 0.9981 GB Notification: Performance of matching and sorting (n=154): time 0.006658/0.9484, allocations: 2.655 MB / 1.182 GB, free: 284 kB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.712e-05/0.9485, allocations: 209.1 kB / 1.182 GB, free: 56 kB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002183/0.9507, allocations: 1.736 MB / 1.183 GB, free: 15.46 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002143/0.9509, allocations: 67.52 kB / 1.183 GB, free: 15.41 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008003/0.9517, allocations: 0.8622 MB / 1.184 GB, free: 14.74 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004729/0.9522, allocations: 0.5208 MB / 1.185 GB, free: 14.33 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004327/0.9526, allocations: 267.4 kB / 1.185 GB, free: 14.21 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001856/0.9528, allocations: 360.6 kB / 1.185 GB, free: 13.88 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001213/0.954, allocations: 0.6294 MB / 1.186 GB, free: 13.68 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001706/0.9557, allocations: 1.277 MB / 1.187 GB, free: 12.77 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002652/0.9583, allocations: 1.413 MB / 1.189 GB, free: 12.21 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.9584, allocations: 2.906 kB / 1.189 GB, free: 12.21 MB / 1.014 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.004381/0.9627, allocations: 1.923 MB / 1.191 GB, free: 11.49 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.9628, allocations: 3.562 kB / 1.191 GB, free: 11.49 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.9628, allocations: 2.875 kB / 1.191 GB, free: 11.49 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001121/0.9639, allocations: 215.2 kB / 1.191 GB, free: 11.42 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001669/0.9656, allocations: 346 kB / 1.191 GB, free: 11.41 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006569/0.9721, allocations: 6.687 MB / 1.198 GB, free: 4.996 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001855/0.974, allocations: 155.3 kB / 1.198 GB, free: 4.922 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001437/0.9741, allocations: 60.64 kB / 1.198 GB, free: 4.91 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 27 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,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 (166): * Single equations (assignments): 161 * 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.00111/0.9752, allocations: 498.9 kB / 1.198 GB, free: 4.633 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004355/0.9757, allocations: 188.6 kB / 1.198 GB, free: 4.531 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004735/0.9804, allocations: 2.187 MB / 1.201 GB, free: 3.699 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.095e-05/0.9804, allocations: 16.41 kB / 1.201 GB, free: 3.699 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.9804, allocations: 0 / 1.201 GB, free: 3.699 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.665e-05/0.9804, allocations: 11.56 kB / 1.201 GB, free: 3.699 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007458/0.9879, allocations: 3.77 MB / 1.204 GB, free: 1.691 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.9879, allocations: 3.938 kB / 1.204 GB, free: 1.688 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001523/0.9894, allocations: 322.2 kB / 1.205 GB, free: 1.625 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000938/0.9904, allocations: 202.5 kB / 1.205 GB, free: 1.508 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001108/0.9905, allocations: 41.91 kB / 1.205 GB, free: 1.48 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006794/0.9973, allocations: 6.702 MB / 1.211 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.9973, allocations: 3.938 kB / 1.211 GB, free: 10.88 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004805/1.002, allocations: 2.069 MB / 1.213 GB, free: 9.812 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001077/1.003, allocations: 394.6 kB / 1.214 GB, free: 9.535 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002754/1.003, allocations: 35.5 kB / 1.214 GB, free: 9.508 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001339/1.005, allocations: 115 kB / 1.214 GB, free: 9.449 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002955/1.005, allocations: 123.5 kB / 1.214 GB, free: 9.367 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001599/1.005, allocations: 73.3 kB / 1.214 GB, free: 9.34 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001634/1.007, allocations: 1.23 MB / 1.215 GB, free: 8.723 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/1.007, allocations: 4 kB / 1.215 GB, free: 8.719 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001963/1.009, allocations: 0.716 MB / 1.216 GB, free: 8.523 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 10 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (157): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.002564/1.011, allocations: 0.8134 MB / 1.217 GB, free: 8.195 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.004059/1.015, allocations: 2.104 MB / 1.219 GB, free: 6.969 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.068e-05/1.015, allocations: 3.062 kB / 1.219 GB, free: 6.965 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.002216/1.018, allocations: 1.392 MB / 1.22 GB, free: 6.043 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002931/1.021, allocations: 0.5182 MB / 1.221 GB, free: 5.762 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00684/1.027, allocations: 3.923 MB / 1.225 GB, free: 3.59 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001002/1.028, allocations: 0.9644 MB / 1.226 GB, free: 3.078 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001719/1.03, allocations: 0.4918 MB / 1.226 GB, free: 2.832 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005347/1.031, allocations: 182.8 kB / 1.226 GB, free: 2.777 MB / 1.029 GB Notification: Performance of SimCode: time 9.22e-07/1.031, allocations: 2.469 kB / 1.226 GB, free: 2.777 MB / 1.029 GB Notification: Performance of Templates: time 0.06014/1.091, allocations: 32.16 MB / 1.258 GB, free: 5.895 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.sim & ./Buildings_12_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Validation_Outside_CpData_Directions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.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.69867429509759]