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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001291/0.001291, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 187.2 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.008/3.008, allocations: 496 MB / 0.7835 GB, free: 33.66 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001895/0.001895, allocations: 74.06 kB / 1.138 GB, free: 33.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.314/0.3159, allocations: 173.6 MB / 1.307 GB, free: 1.855 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.1946/0.5105, allocations: 169.2 MB / 1.473 GB, free: 7.98 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.02585/0.5364, allocations: 17.66 MB / 1.49 GB, free: 6.273 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001625/0.538, allocations: 43.62 kB / 1.49 GB, free: 6.23 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.002041/0.54, allocations: 0.5934 MB / 1.49 GB, free: 5.633 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.005681/0.5457, allocations: 1.846 MB / 1.492 GB, free: 3.781 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.004246/0.5499, allocations: 1.487 MB / 1.494 GB, free: 2.309 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.00447/0.5544, allocations: 2.894 MB / 1.496 GB, free: 15.4 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00299/0.5574, allocations: 1.594 MB / 1.498 GB, free: 13.75 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004799/0.5622, allocations: 1.514 MB / 1.5 GB, free: 12.28 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002161/0.5644, allocations: 1.14 MB / 1.501 GB, free: 11.13 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0006721/0.565, allocations: 228 kB / 1.501 GB, free: 10.91 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003895/0.5689, allocations: 1.646 MB / 1.502 GB, free: 9.262 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.001051/0.57, allocations: 0.7984 MB / 1.503 GB, free: 8.461 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.001993/0.572, allocations: 1.224 MB / 1.504 GB, free: 7.23 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.005728/0.5777, allocations: 3.623 MB / 1.508 GB, free: 3.594 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.5777, allocations: 3.984 kB / 1.508 GB, free: 3.59 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.503e-06/0.5777, allocations: 0 / 1.508 GB, free: 3.59 MB / 1.201 GB Notification: Performance of Transformations before backend: time 3.84e-05/0.5778, allocations: 0 / 1.508 GB, free: 3.59 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: 431 * Number of variables: 431 Notification: Performance of Generate backend data structure: time 0.004827/0.5826, allocations: 2.77 MB / 1.511 GB, free: 0.7734 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/0.5826, allocations: 12.92 kB / 1.511 GB, free: 0.7617 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003826/0.5865, allocations: 0.5721 MB / 1.511 GB, free: 192 kB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002753/0.5892, allocations: 1.572 MB / 1.513 GB, free: 14.58 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001223/0.5893, allocations: 135.4 kB / 1.513 GB, free: 14.45 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002585/0.5896, allocations: 164 kB / 1.513 GB, free: 14.29 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00357/0.5932, allocations: 1.96 MB / 1.515 GB, free: 12.28 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.94e-05/0.5932, allocations: 0 / 1.515 GB, free: 12.28 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001706/0.5934, allocations: 76 kB / 1.515 GB, free: 12.2 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.324e-05/0.5934, allocations: 40 kB / 1.515 GB, free: 12.16 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003628/0.597, allocations: 2.12 MB / 1.517 GB, free: 10.04 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009872/0.6069, allocations: 6.317 MB / 1.523 GB, free: 3.32 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003276/0.6102, allocations: 1.736 MB / 1.525 GB, free: 1.578 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001275/0.6114, allocations: 0.7178 MB / 1.526 GB, free: 0.8555 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004518/0.6119, allocations: 133.1 kB / 1.526 GB, free: 0.7266 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001841/0.6137, allocations: 1.013 MB / 1.527 GB, free: 15.69 MB / 1.232 GB Notification: Performance of pre-optimization done (n=146): time 2.745e-06/0.6137, allocations: 0 / 1.527 GB, free: 15.69 MB / 1.232 GB Notification: Performance of matching and sorting (n=146): time 0.006648/0.6204, allocations: 2.613 MB / 1.529 GB, free: 13.05 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000135/0.6205, allocations: 201.2 kB / 1.53 GB, free: 12.82 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002478/0.623, allocations: 1.805 MB / 1.531 GB, free: 11 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0001659/0.6232, allocations: 53.7 kB / 1.531 GB, free: 10.94 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007914/0.624, allocations: 0.8559 MB / 1.532 GB, free: 10.07 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004804/0.6244, allocations: 0.4995 MB / 1.533 GB, free: 9.574 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004064/0.6248, allocations: 258.8 kB / 1.533 GB, free: 9.312 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001767/0.625, allocations: 357.9 kB / 1.533 GB, free: 8.957 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001187/0.6262, allocations: 0.6038 MB / 1.534 GB, free: 8.355 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001373/0.6276, allocations: 0.8131 MB / 1.535 GB, free: 7.488 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002473/0.6301, allocations: 1.36 MB / 1.536 GB, free: 6.117 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.6301, allocations: 0 / 1.536 GB, free: 6.117 MB / 1.232 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003991/0.634, allocations: 1.843 MB / 1.538 GB, free: 4.25 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.6341, allocations: 11.94 kB / 1.538 GB, free: 4.238 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.6341, allocations: 3.938 kB / 1.538 GB, free: 4.234 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001011/0.6351, allocations: 216.2 kB / 1.538 GB, free: 4.008 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001536/0.6366, allocations: 339.5 kB / 1.538 GB, free: 3.676 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006534/0.6432, allocations: 6.818 MB / 1.545 GB, free: 12.28 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001719/0.6449, allocations: 172.7 kB / 1.545 GB, free: 12.11 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001221/0.645, allocations: 55.95 kB / 1.545 GB, free: 12.05 MB / 1.248 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 (153): * Single equations (assignments): 148 * 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.001178/0.6462, allocations: 487.7 kB / 1.546 GB, free: 11.57 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003949/0.6466, allocations: 190.8 kB / 1.546 GB, free: 11.38 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004924/0.6515, allocations: 2.141 MB / 1.548 GB, free: 9.215 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.306e-05/0.6515, allocations: 16 kB / 1.548 GB, free: 9.199 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.6515, allocations: 4 kB / 1.548 GB, free: 9.195 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.785e-05/0.6515, allocations: 12 kB / 1.548 GB, free: 9.184 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007255/0.6588, allocations: 3.967 MB / 1.552 GB, free: 5.148 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.095e-06/0.6588, allocations: 3.938 kB / 1.552 GB, free: 5.145 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001473/0.6603, allocations: 327.5 kB / 1.552 GB, free: 4.824 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008659/0.6611, allocations: 200.1 kB / 1.552 GB, free: 4.613 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.907e-05/0.6612, allocations: 39.97 kB / 1.552 GB, free: 4.574 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006322/0.6676, allocations: 6.851 MB / 1.559 GB, free: 13.14 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.6676, allocations: 3.938 kB / 1.559 GB, free: 13.14 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004173/0.6717, allocations: 2.017 MB / 1.561 GB, free: 11.09 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009474/0.6727, allocations: 402.2 kB / 1.561 GB, free: 10.69 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002134/0.6729, allocations: 35.98 kB / 1.562 GB, free: 10.66 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001191/0.6741, allocations: 112.3 kB / 1.562 GB, free: 10.55 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002299/0.6743, allocations: 117.1 kB / 1.562 GB, free: 10.43 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001379/0.6745, allocations: 71.95 kB / 1.562 GB, free: 10.36 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.001664/0.6761, allocations: 1.293 MB / 1.563 GB, free: 9.074 MB / 1.264 GB Notification: Performance of sort global known variables: time 1e-07/0.6761, allocations: 0 / 1.563 GB, free: 9.074 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001617/0.6777, allocations: 0.6898 MB / 1.564 GB, free: 8.383 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.002157/0.6799, allocations: 0.7531 MB / 1.564 GB, free: 7.809 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.003595/0.6835, allocations: 2.055 MB / 1.566 GB, free: 5.688 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 8.506e-06/0.6835, allocations: 4.656 kB / 1.566 GB, free: 5.684 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.00207/0.6856, allocations: 1.372 MB / 1.568 GB, free: 4.25 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002048/0.6876, allocations: 0.5507 MB / 1.568 GB, free: 3.719 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006544/0.6942, allocations: 3.9 MB / 1.572 GB, free: 15.79 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001242/0.6954, allocations: 1.521 MB / 1.574 GB, free: 14.23 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.001558/0.697, allocations: 0.5009 MB / 1.574 GB, free: 13.72 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004665/0.6974, allocations: 179.4 kB / 1.574 GB, free: 13.54 MB / 1.279 GB Notification: Performance of SimCode: time 7.52e-07/0.6974, allocations: 0 / 1.574 GB, free: 13.54 MB / 1.279 GB Notification: Performance of Templates: time 0.6096/1.307, allocations: 33.44 MB / 1.607 GB, free: 289.6 MB / 1.295 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.481161770410836]