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.001777/0.001777, allocations: 104.5 kB / 18.84 MB, free: 3.043 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.002204/0.002204, allocations: 191.5 kB / 22.11 MB, free: 5.152 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.52/1.52, allocations: 225.6 MB / 250.8 MB, free: 13.04 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.254/3.254, allocations: 495.8 MB / 0.783 GB, free: 33.51 MB / 0.6231 GB " [Timeout remaining time 176] 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.002097/0.002097, allocations: 68.2 kB / 1.137 GB, free: 33.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4142/0.4163, allocations: 173.6 MB / 1.307 GB, free: 1.848 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.2571/0.6734, allocations: 167.4 MB / 1.47 GB, free: 9.805 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.03788/0.7113, allocations: 17.53 MB / 1.487 GB, free: 8.227 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002131/0.7134, allocations: 43.62 kB / 1.487 GB, free: 8.184 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.002106/0.7155, allocations: 0.5934 MB / 1.488 GB, free: 7.586 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.006208/0.7217, allocations: 1.847 MB / 1.49 GB, free: 5.738 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.004077/0.7258, allocations: 1.483 MB / 1.491 GB, free: 4.266 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.004266/0.7301, allocations: 2.898 MB / 1.494 GB, free: 1.355 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002412/0.7325, allocations: 1.598 MB / 1.496 GB, free: 15.7 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004475/0.7369, allocations: 1.515 MB / 1.497 GB, free: 14.23 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001674/0.7386, allocations: 1.148 MB / 1.498 GB, free: 13.08 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0004303/0.7391, allocations: 224 kB / 1.498 GB, free: 12.86 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003334/0.7424, allocations: 1.455 MB / 1.5 GB, free: 11.4 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0008187/0.7432, allocations: 0.7984 MB / 1.501 GB, free: 10.6 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.001457/0.7447, allocations: 1.22 MB / 1.502 GB, free: 9.375 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.005694/0.7504, allocations: 3.603 MB / 1.505 GB, free: 5.758 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 9.668e-06/0.7504, allocations: 4 kB / 1.505 GB, free: 5.754 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.493e-06/0.7504, allocations: 0 / 1.505 GB, free: 5.754 MB / 1.201 GB Notification: Performance of Transformations before backend: time 5.061e-05/0.7504, allocations: 0 / 1.505 GB, free: 5.754 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.005495/0.7559, allocations: 2.773 MB / 1.508 GB, free: 2.934 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.756, allocations: 12.03 kB / 1.508 GB, free: 2.922 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003878/0.7598, allocations: 0.5682 MB / 1.509 GB, free: 2.352 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002839/0.7627, allocations: 1.564 MB / 1.51 GB, free: 0.7539 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001319/0.7628, allocations: 135.4 kB / 1.51 GB, free: 0.6211 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002681/0.7631, allocations: 168 kB / 1.51 GB, free: 468 kB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003792/0.7669, allocations: 1.952 MB / 1.512 GB, free: 14.45 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.19e-05/0.7669, allocations: 0 / 1.512 GB, free: 14.45 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001836/0.7671, allocations: 76 kB / 1.512 GB, free: 14.38 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.883e-05/0.7671, allocations: 40 kB / 1.512 GB, free: 14.34 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003966/0.7711, allocations: 2.124 MB / 1.515 GB, free: 12.21 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01131/0.7824, allocations: 6.289 MB / 1.521 GB, free: 5.52 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00368/0.7861, allocations: 1.741 MB / 1.522 GB, free: 3.773 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001416/0.7875, allocations: 0.7178 MB / 1.523 GB, free: 3.051 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004743/0.788, allocations: 129.1 kB / 1.523 GB, free: 2.926 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002075/0.79, allocations: 1.013 MB / 1.524 GB, free: 1.891 MB / 1.217 GB Notification: Performance of pre-optimization done (n=146): time 3.707e-06/0.79, allocations: 0 / 1.524 GB, free: 1.891 MB / 1.217 GB Notification: Performance of matching and sorting (n=146): time 0.007526/0.7976, allocations: 2.613 MB / 1.527 GB, free: 15.26 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001794/0.7977, allocations: 209.2 kB / 1.527 GB, free: 15.01 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002836/0.8006, allocations: 1.805 MB / 1.529 GB, free: 13.2 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0002497/0.8008, allocations: 57.7 kB / 1.529 GB, free: 13.13 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009632/0.8018, allocations: 0.8482 MB / 1.53 GB, free: 12.27 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006013/0.8024, allocations: 0.4996 MB / 1.53 GB, free: 11.77 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004974/0.8029, allocations: 258.8 kB / 1.53 GB, free: 11.51 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001858/0.8031, allocations: 357.9 kB / 1.531 GB, free: 11.15 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001424/0.8045, allocations: 0.5999 MB / 1.531 GB, free: 10.55 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001566/0.8061, allocations: 0.8131 MB / 1.532 GB, free: 9.688 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002748/0.8088, allocations: 1.36 MB / 1.533 GB, free: 8.316 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.8088, allocations: 0 / 1.533 GB, free: 8.316 MB / 1.232 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004861/0.8137, allocations: 1.839 MB / 1.535 GB, free: 6.453 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 3.284e-05/0.8137, allocations: 7.938 kB / 1.535 GB, free: 6.445 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.8137, allocations: 0 / 1.535 GB, free: 6.445 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001146/0.8149, allocations: 224.1 kB / 1.535 GB, free: 6.211 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001661/0.8165, allocations: 335.6 kB / 1.536 GB, free: 5.883 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006895/0.8234, allocations: 6.819 MB / 1.542 GB, free: 14.48 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002133/0.8256, allocations: 175 kB / 1.542 GB, free: 14.31 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001556/0.8257, allocations: 55.97 kB / 1.543 GB, free: 14.26 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.001142/0.8269, allocations: 495.6 kB / 1.543 GB, free: 13.77 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004423/0.8273, allocations: 190.8 kB / 1.543 GB, free: 13.58 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004942/0.8322, allocations: 2.137 MB / 1.545 GB, free: 11.41 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.566e-05/0.8323, allocations: 16 kB / 1.545 GB, free: 11.4 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/0.8323, allocations: 8 kB / 1.545 GB, free: 11.39 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.523e-05/0.8323, allocations: 7.969 kB / 1.545 GB, free: 11.38 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007781/0.8401, allocations: 3.973 MB / 1.549 GB, free: 7.34 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.826e-06/0.8401, allocations: 3.938 kB / 1.549 GB, free: 7.336 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001559/0.8416, allocations: 319.6 kB / 1.55 GB, free: 7.023 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009289/0.8426, allocations: 200.1 kB / 1.55 GB, free: 6.812 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001131/0.8427, allocations: 47.89 kB / 1.55 GB, free: 6.766 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006813/0.8495, allocations: 6.835 MB / 1.556 GB, free: 15.35 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.081e-06/0.8495, allocations: 7.922 kB / 1.556 GB, free: 15.34 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004999/0.8545, allocations: 2.025 MB / 1.558 GB, free: 13.28 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0013/0.8558, allocations: 406.3 kB / 1.559 GB, free: 12.88 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003043/0.8561, allocations: 27.94 kB / 1.559 GB, free: 12.86 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001357/0.8575, allocations: 110.3 kB / 1.559 GB, free: 12.75 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003422/0.8578, allocations: 129 kB / 1.559 GB, free: 12.62 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001735/0.858, allocations: 67.94 kB / 1.559 GB, free: 12.55 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.001957/0.8599, allocations: 1.293 MB / 1.56 GB, free: 11.27 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8599, allocations: 0 / 1.56 GB, free: 11.27 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.002232/0.8622, allocations: 0.686 MB / 1.561 GB, free: 10.58 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.00253/0.8647, allocations: 0.7652 MB / 1.562 GB, free: 10 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.004253/0.8689, allocations: 2.051 MB / 1.564 GB, free: 7.883 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/0.8689, allocations: 4.656 kB / 1.564 GB, free: 7.879 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.002481/0.8714, allocations: 1.375 MB / 1.565 GB, free: 6.441 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002973/0.8744, allocations: 0.549 MB / 1.566 GB, free: 5.91 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007614/0.882, allocations: 3.892 MB / 1.569 GB, free: 1.984 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001419/0.8834, allocations: 1.529 MB / 1.571 GB, free: 428 kB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.002127/0.8856, allocations: 0.497 MB / 1.571 GB, free: 15.91 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005668/0.8861, allocations: 179.2 kB / 1.572 GB, free: 15.74 MB / 1.279 GB Notification: Performance of SimCode: time 1.493e-06/0.8861, allocations: 0 / 1.572 GB, free: 15.74 MB / 1.279 GB Notification: Performance of Templates: time 0.7756/1.662, allocations: 33.46 MB / 1.604 GB, free: 290.1 MB / 1.295 GB " [Timeout remaining time 298] 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: 11.844302800484002]