Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008005/0.0008005, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008486/0.0008486, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.8457/0.8457, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.775/1.775, allocations: 389 MB / 0.6338 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.718e-05/1.871e-05, allocations: 2.281 kB / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.6514/0.6514, allocations: 148.3 MB / 1.146 GB, free: 7.387 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.01784/0.6693, allocations: 16.14 MB / 1.161 GB, free: 12.54 MB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001411/0.6707, allocations: 39.56 kB / 1.161 GB, free: 12.52 MB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 0.001425/0.6721, allocations: 0.5672 MB / 1.162 GB, free: 12.18 MB / 1.026 GB Notification: Performance of NFTyping.typeBindings: time 0.004502/0.6766, allocations: 1.88 MB / 1.164 GB, free: 11.14 MB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 0.003059/0.6797, allocations: 1.491 MB / 1.165 GB, free: 10.33 MB / 1.026 GB Notification: Performance of NFFlatten.flatten: time 0.002817/0.6825, allocations: 2.98 MB / 1.168 GB, free: 8.828 MB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001714/0.6842, allocations: 1.511 MB / 1.17 GB, free: 8.039 MB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003152/0.6874, allocations: 2.013 MB / 1.172 GB, free: 7.176 MB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001059/0.6884, allocations: 0.9411 MB / 1.173 GB, free: 6.84 MB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 0.0002562/0.6887, allocations: 229.6 kB / 1.173 GB, free: 6.84 MB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002825/0.6915, allocations: 1.483 MB / 1.174 GB, free: 6.406 MB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 0.0006661/0.6922, allocations: 0.843 MB / 1.175 GB, free: 5.945 MB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 0.0008139/0.693, allocations: 0.8441 MB / 1.176 GB, free: 5.551 MB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 0.004276/0.6973, allocations: 3.845 MB / 1.18 GB, free: 4.082 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.6973, allocations: 0 / 1.18 GB, free: 4.082 MB / 1.026 GB Notification: Performance of FrontEnd: time 1.623e-06/0.6973, allocations: 0 / 1.18 GB, free: 4.082 MB / 1.026 GB Notification: Performance of Transformations before backend: time 2.533e-05/0.6973, allocations: 0 / 1.18 GB, free: 4.082 MB / 1.026 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.003356/0.7006, allocations: 2.793 MB / 1.182 GB, free: 2.344 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.7007, allocations: 12.44 kB / 1.182 GB, free: 2.344 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002161/0.7028, allocations: 0.6281 MB / 1.183 GB, free: 2.172 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001822/0.7047, allocations: 1.577 MB / 1.185 GB, free: 1.332 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001/0.7048, allocations: 132.3 kB / 1.185 GB, free: 1.273 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001968/0.705, allocations: 176.5 kB / 1.185 GB, free: 1.219 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002812/0.7078, allocations: 2.732 MB / 1.188 GB, free: 15.51 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.762e-05/0.7078, allocations: 5.078 kB / 1.188 GB, free: 15.5 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001395/0.7079, allocations: 77.66 kB / 1.188 GB, free: 15.45 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.528e-05/0.708, allocations: 41.41 kB / 1.188 GB, free: 15.45 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002539/0.7105, allocations: 2.073 MB / 1.19 GB, free: 14.91 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005953/0.7165, allocations: 4.432 MB / 1.194 GB, free: 12.59 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002297/0.7188, allocations: 1.781 MB / 1.196 GB, free: 11.79 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008689/0.7197, allocations: 0.7374 MB / 1.196 GB, free: 11.45 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002798/0.7199, allocations: 118.2 kB / 1.197 GB, free: 11.41 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001416/0.7214, allocations: 1.637 MB / 1.198 GB, free: 10.07 MB / 1.042 GB Notification: Performance of pre-optimization done (n=154): time 2.945e-06/0.7214, allocations: 0 / 1.198 GB, free: 10.07 MB / 1.042 GB Notification: Performance of matching and sorting (n=154): time 0.00402/0.7254, allocations: 2.656 MB / 1.201 GB, free: 8.828 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001035/0.7255, allocations: 204.9 kB / 1.201 GB, free: 8.605 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001607/0.7271, allocations: 1.723 MB / 1.203 GB, free: 7.738 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001019/0.7272, allocations: 63.14 kB / 1.203 GB, free: 7.684 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005131/0.7277, allocations: 0.8603 MB / 1.204 GB, free: 6.926 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002949/0.728, allocations: 0.5088 MB / 1.204 GB, free: 6.473 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002915/0.7283, allocations: 283 kB / 1.204 GB, free: 6.305 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.7284, allocations: 355.3 kB / 1.205 GB, free: 5.965 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001083/0.7295, allocations: 0.6336 MB / 1.205 GB, free: 5.672 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001007/0.7305, allocations: 1.281 MB / 1.207 GB, free: 4.641 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001589/0.7321, allocations: 1.408 MB / 1.208 GB, free: 3.965 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.7321, allocations: 0 / 1.208 GB, free: 3.965 MB / 1.042 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.002373/0.7345, allocations: 1.922 MB / 1.21 GB, free: 3.02 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.7345, allocations: 9.688 kB / 1.21 GB, free: 3.016 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.7345, allocations: 3.984 kB / 1.21 GB, free: 3.012 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005425/0.735, allocations: 213.9 kB / 1.21 GB, free: 2.891 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007888/0.7358, allocations: 347.5 kB / 1.21 GB, free: 2.801 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003953/0.7398, allocations: 6.674 MB / 1.217 GB, free: 12.17 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008355/0.7406, allocations: 167.4 kB / 1.217 GB, free: 12.06 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.68e-05/0.7407, allocations: 68.81 kB / 1.217 GB, free: 12.03 MB / 1.057 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.0006945/0.7414, allocations: 494.4 kB / 1.218 GB, free: 11.7 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002164/0.7416, allocations: 178.2 kB / 1.218 GB, free: 11.61 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002638/0.7442, allocations: 2.175 MB / 1.22 GB, free: 10.42 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.7443, allocations: 16 kB / 1.22 GB, free: 10.41 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.7443, allocations: 0 / 1.22 GB, free: 10.41 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.117e-05/0.7443, allocations: 11.97 kB / 1.22 GB, free: 10.39 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00462/0.7489, allocations: 3.752 MB / 1.224 GB, free: 6.57 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.341e-06/0.7489, allocations: 8 kB / 1.224 GB, free: 6.562 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007056/0.7496, allocations: 323.6 kB / 1.224 GB, free: 6.246 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004056/0.75, allocations: 200.1 kB / 1.224 GB, free: 6.035 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.374e-05/0.7501, allocations: 39.97 kB / 1.224 GB, free: 5.996 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003459/0.7535, allocations: 6.705 MB / 1.231 GB, free: 14.77 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.7535, allocations: 0 / 1.231 GB, free: 14.77 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002335/0.7559, allocations: 2.054 MB / 1.233 GB, free: 12.69 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005279/0.7564, allocations: 402.2 kB / 1.233 GB, free: 12.29 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001375/0.7565, allocations: 35.94 kB / 1.233 GB, free: 12.26 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005953/0.7571, allocations: 106.7 kB / 1.233 GB, free: 12.16 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001742/0.7573, allocations: 125.7 kB / 1.233 GB, free: 12.03 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.748e-05/0.7574, allocations: 79.94 kB / 1.233 GB, free: 11.95 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.001072/0.7585, allocations: 1.224 MB / 1.235 GB, free: 10.73 MB / 1.073 GB Notification: Performance of sort global known variables: time 7e-08/0.7585, allocations: 0 / 1.235 GB, free: 10.73 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.001582/0.7601, allocations: 0.7092 MB / 1.235 GB, free: 10.02 MB / 1.073 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 (156): * Single equations (assignments): 141 * 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.001288/0.7613, allocations: 0.8103 MB / 1.236 GB, free: 9.406 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.002432/0.7638, allocations: 2.108 MB / 1.238 GB, free: 7.234 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.7638, allocations: 4.891 kB / 1.238 GB, free: 7.23 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.001121/0.7649, allocations: 1.376 MB / 1.239 GB, free: 5.793 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001194/0.7661, allocations: 0.5065 MB / 1.24 GB, free: 5.309 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004163/0.7703, allocations: 3.836 MB / 1.244 GB, free: 1.434 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008935/0.7711, allocations: 0.9121 MB / 1.245 GB, free: 496 kB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004036/0.7716, allocations: 196.4 kB / 1.245 GB, free: 300 kB / 1.073 GB Notification: Performance of SimCode: time 2.545e-06/0.7716, allocations: 0 / 1.245 GB, free: 300 kB / 1.073 GB Notification: Performance of Templates: time 0.05045/0.822, allocations: 68.61 MB / 1.312 GB, free: 11.71 MB / 1.151 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.sim & ./Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Validation_Outside_CpData_Directions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.532543696463108]