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.002453/0.002453, allocations: 93.47 kB / 19.44 MB, free: 336 kB / 13.93 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.002996/0.002996, allocations: 169.2 kB / 22.76 MB, free: 1.664 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 1.556/1.556, allocations: 177.1 MB / 203.1 MB, free: 5.566 MB / 186.7 MB " [Timeout remaining time 178] 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 3.409/3.409, allocations: 429.5 MB / 0.6729 GB, free: 4.008 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/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.223e-06/1.223e-06, allocations: 0.6562 kB / 0.8774 GB, free: 5.535 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.119e-05/2.241e-05, allocations: 3.375 kB / 0.8774 GB, free: 5.531 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.7127/0.7128, allocations: 164.2 MB / 1.038 GB, free: 18.52 MB / 0.9324 GB Notification: Performance of NFInst.instExpressions: time 0.02338/0.7361, allocations: 17.75 MB / 1.055 GB, free: 18.24 MB / 0.9324 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002164/0.7383, allocations: 42.22 kB / 1.055 GB, free: 18.24 MB / 0.9324 GB Notification: Performance of NFTyping.typeComponents: time 0.001772/0.7401, allocations: 0.5691 MB / 1.056 GB, free: 18.23 MB / 0.9324 GB Notification: Performance of NFTyping.typeBindings: time 0.005974/0.746, allocations: 1.873 MB / 1.058 GB, free: 18.18 MB / 0.9324 GB Notification: Performance of NFTyping.typeClassSections: time 0.00395/0.75, allocations: 1.47 MB / 1.059 GB, free: 18.13 MB / 0.9324 GB Notification: Performance of NFFlatten.flatten: time 0.004323/0.7543, allocations: 2.974 MB / 1.062 GB, free: 17.57 MB / 0.9324 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002281/0.7566, allocations: 1.565 MB / 1.063 GB, free: 17.39 MB / 0.9324 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005809/0.7624, allocations: 2.143 MB / 1.065 GB, free: 17.2 MB / 0.9324 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001833/0.7642, allocations: 0.9419 MB / 1.066 GB, free: 17.1 MB / 0.9324 GB Notification: Performance of NFPackage.collectConstants: time 0.0007078/0.7649, allocations: 230.1 kB / 1.067 GB, free: 17.1 MB / 0.9324 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003683/0.7686, allocations: 1.48 MB / 1.068 GB, free: 17 MB / 0.9324 GB Notification: Performance of NFScalarize.scalarize: time 0.0008326/0.7695, allocations: 0.8376 MB / 1.069 GB, free: 16.89 MB / 0.9324 GB Notification: Performance of NFVerifyModel.verify: time 0.001566/0.771, allocations: 0.8479 MB / 1.07 GB, free: 16.79 MB / 0.9324 GB Notification: Performance of NFConvertDAE.convert: time 0.006489/0.7775, allocations: 3.851 MB / 1.073 GB, free: 16.41 MB / 0.9324 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.7775, allocations: 0 / 1.073 GB, free: 16.41 MB / 0.9324 GB Notification: Performance of FrontEnd: time 1.203e-06/0.7775, allocations: 5.281 kB / 1.073 GB, free: 16.41 MB / 0.9324 GB Notification: Performance of Transformations before backend: time 8.907e-05/0.7776, allocations: 0 / 1.073 GB, free: 16.41 MB / 0.9324 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.00527/0.7829, allocations: 3.063 MB / 1.076 GB, free: 14.95 MB / 0.9324 GB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.7829, allocations: 9.188 kB / 1.076 GB, free: 14.95 MB / 0.9324 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00458/0.7875, allocations: 0.8744 MB / 1.077 GB, free: 14.68 MB / 0.9324 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00293/0.7904, allocations: 1.379 MB / 1.079 GB, free: 14.26 MB / 0.9324 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001298/0.7906, allocations: 134.9 kB / 1.079 GB, free: 14.26 MB / 0.9324 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002988/0.7909, allocations: 188.2 kB / 1.079 GB, free: 14.26 MB / 0.9324 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003406/0.7943, allocations: 2.562 MB / 1.082 GB, free: 13.09 MB / 0.9324 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.077e-05/0.7943, allocations: 3.75 kB / 1.082 GB, free: 13.09 MB / 0.9324 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001713/0.7945, allocations: 74.28 kB / 1.082 GB, free: 13.09 MB / 0.9324 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.656e-05/0.7945, allocations: 45.75 kB / 1.082 GB, free: 13.09 MB / 0.9324 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002992/0.7975, allocations: 1.63 MB / 1.083 GB, free: 13.07 MB / 0.9324 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009025/0.8065, allocations: 5.436 MB / 1.089 GB, free: 10.63 MB / 0.9324 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002262/0.8088, allocations: 1.297 MB / 1.09 GB, free: 10.19 MB / 0.9324 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008713/0.8097, allocations: 0.5438 MB / 1.09 GB, free: 10.02 MB / 0.9324 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004331/0.8101, allocations: 127.7 kB / 1.09 GB, free: 10.01 MB / 0.9324 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001482/0.8116, allocations: 1.492 MB / 1.092 GB, free: 8.934 MB / 0.9324 GB Notification: Performance of pre-optimization done (n=154): time 3.467e-06/0.8116, allocations: 1.094 kB / 1.092 GB, free: 8.934 MB / 0.9324 GB Notification: Performance of matching and sorting (n=154): time 0.005737/0.8173, allocations: 2.129 MB / 1.094 GB, free: 8.262 MB / 0.9324 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.895e-05/0.8174, allocations: 206 kB / 1.094 GB, free: 8.035 MB / 0.9324 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001768/0.8192, allocations: 1.58 MB / 1.096 GB, free: 7.383 MB / 0.9324 GB Notification: Performance of collectPreVariables (initialization): time 0.0001713/0.8193, allocations: 65.8 kB / 1.096 GB, free: 7.324 MB / 0.9324 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006224/0.82, allocations: 0.9957 MB / 1.097 GB, free: 6.559 MB / 0.9324 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003337/0.8203, allocations: 0.5537 MB / 1.097 GB, free: 6.129 MB / 0.9324 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004278/0.8207, allocations: 327.3 kB / 1.098 GB, free: 5.977 MB / 0.9324 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.8208, allocations: 0.5648 MB / 1.098 GB, free: 5.453 MB / 0.9324 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008157/0.8216, allocations: 429.5 kB / 1.099 GB, free: 5.332 MB / 0.9324 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001057/0.8227, allocations: 1.148 MB / 1.1 GB, free: 4.414 MB / 0.9324 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001721/0.8244, allocations: 1.037 MB / 1.101 GB, free: 3.984 MB / 0.9324 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.8244, allocations: 3.5 kB / 1.101 GB, free: 3.984 MB / 0.9324 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.003322/0.8278, allocations: 1.584 MB / 1.102 GB, free: 3.387 MB / 0.9324 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.8278, allocations: 6.25 kB / 1.102 GB, free: 3.387 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.8278, allocations: 3.984 kB / 1.102 GB, free: 3.383 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001509/0.8293, allocations: 301.4 kB / 1.103 GB, free: 3.293 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001511/0.8308, allocations: 351.5 kB / 1.103 GB, free: 3.285 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007073/0.8379, allocations: 9.323 MB / 1.112 GB, free: 10.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001788/0.8397, allocations: 136.1 kB / 1.112 GB, free: 10.12 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000145/0.8398, allocations: 66.69 kB / 1.112 GB, free: 10.11 MB / 0.948 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.001037/0.8408, allocations: 367.3 kB / 1.113 GB, free: 9.828 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005331/0.8414, allocations: 235.4 kB / 1.113 GB, free: 9.711 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004071/0.8454, allocations: 1.778 MB / 1.114 GB, free: 9.031 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.057e-05/0.8455, allocations: 16.06 kB / 1.115 GB, free: 9.031 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.8455, allocations: 3 kB / 1.115 GB, free: 9.031 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.544e-05/0.8455, allocations: 8.766 kB / 1.115 GB, free: 9.031 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007171/0.8526, allocations: 3.642 MB / 1.118 GB, free: 7.391 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.431e-06/0.8527, allocations: 0.9375 kB / 1.118 GB, free: 7.391 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001329/0.854, allocations: 318.7 kB / 1.118 GB, free: 7.383 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001357/0.8553, allocations: 286.6 kB / 1.119 GB, free: 7.289 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001135/0.8555, allocations: 44.72 kB / 1.119 GB, free: 7.266 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008368/0.8638, allocations: 9.352 MB / 1.128 GB, free: 14.15 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.8638, allocations: 1 kB / 1.128 GB, free: 14.15 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004276/0.8681, allocations: 1.805 MB / 1.13 GB, free: 13.36 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001209/0.8693, allocations: 391.6 kB / 1.13 GB, free: 13.14 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002606/0.8696, allocations: 37.41 kB / 1.13 GB, free: 13.12 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001141/0.8707, allocations: 86.19 kB / 1.13 GB, free: 13.1 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000269/0.871, allocations: 127.7 kB / 1.13 GB, free: 13.07 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000168/0.8711, allocations: 76.42 kB / 1.13 GB, free: 13.05 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001388/0.8725, allocations: 0.9643 MB / 1.131 GB, free: 12.7 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8725, allocations: 1.094 kB / 1.131 GB, free: 12.7 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.002004/0.8745, allocations: 0.7219 MB / 1.132 GB, free: 12.52 MB / 0.9636 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.00372/0.8783, allocations: 0.8157 MB / 1.133 GB, free: 12.26 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.003506/0.8818, allocations: 2.087 MB / 1.135 GB, free: 11.06 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 6.181e-06/0.8818, allocations: 4.359 kB / 1.135 GB, free: 11.06 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.002245/0.884, allocations: 1.553 MB / 1.136 GB, free: 10.01 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002684/0.8867, allocations: 0.5661 MB / 1.137 GB, free: 9.832 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006175/0.8929, allocations: 3.564 MB / 1.14 GB, free: 7.996 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000903/0.8938, allocations: 0.9423 MB / 1.141 GB, free: 7.766 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.001621/0.8954, allocations: 463.4 kB / 1.142 GB, free: 7.613 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004819/0.8959, allocations: 176.5 kB / 1.142 GB, free: 7.59 MB / 0.9636 GB Notification: Performance of SimCode: time 9.82e-07/0.8959, allocations: 0 / 1.142 GB, free: 7.59 MB / 0.9636 GB Notification: Performance of Templates: time 0.06099/0.9569, allocations: 32.44 MB / 1.174 GB, free: 15.62 MB / 0.9949 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe 2>&1) [Timeout 240] 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.81846257194411]