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.001402/0.001402, allocations: 88.33 kB / 20.23 MB, free: 4.172 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.001515/0.001515, allocations: 169.6 kB / 23.55 MB, free: 0.8555 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.574/1.574, allocations: 177.1 MB / 203.9 MB, free: 5.598 MB / 186.7 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 2.935/2.935, allocations: 377.8 MB / 0.6232 GB, free: 8.527 MB / 0.5886 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.693e-06/1.693e-06, allocations: 0 / 0.8108 GB, free: 2.133 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.946e-05/3.115e-05, allocations: 7.844 kB / 0.8108 GB, free: 2.125 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.2126/0.2126, allocations: 148.3 MB / 0.9556 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.02674/0.2394, allocations: 16.19 MB / 0.9715 GB, free: 13.06 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001535/0.2409, allocations: 43.62 kB / 0.9715 GB, free: 13.02 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.00206/0.243, allocations: 0.5659 MB / 0.9721 GB, free: 12.45 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.006133/0.2491, allocations: 1.896 MB / 0.9739 GB, free: 10.54 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.004247/0.2533, allocations: 1.473 MB / 0.9753 GB, free: 9.066 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.004904/0.2582, allocations: 3.003 MB / 0.9783 GB, free: 6.055 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003441/0.2617, allocations: 1.646 MB / 0.9799 GB, free: 4.355 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007118/0.2688, allocations: 2.137 MB / 0.982 GB, free: 2.359 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002509/0.2713, allocations: 0.9426 MB / 0.9829 GB, free: 1.414 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0008094/0.2721, allocations: 232 kB / 0.9831 GB, free: 1.188 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004318/0.2764, allocations: 1.47 MB / 0.9845 GB, free: 15.71 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.00136/0.2778, allocations: 0.849 MB / 0.9854 GB, free: 14.86 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.002073/0.2799, allocations: 0.8456 MB / 0.9862 GB, free: 14.02 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.007645/0.2875, allocations: 3.855 MB / 0.99 GB, free: 10.15 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.2875, allocations: 0 / 0.99 GB, free: 10.15 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.352e-06/0.2875, allocations: 3.938 kB / 0.99 GB, free: 10.14 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001276/0.2876, allocations: 4 kB / 0.99 GB, free: 10.14 MB / 0.948 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.007719/0.2954, allocations: 2.797 MB / 0.9927 GB, free: 7.293 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.2954, allocations: 12.03 kB / 0.9927 GB, free: 7.281 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005425/0.3008, allocations: 0.9023 MB / 0.9936 GB, free: 6.375 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005102/0.3059, allocations: 1.623 MB / 0.9952 GB, free: 4.715 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002567/0.3062, allocations: 135.4 kB / 0.9953 GB, free: 4.582 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008028/0.307, allocations: 184 kB / 0.9955 GB, free: 4.402 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008235/0.3152, allocations: 2.737 MB / 0.9982 GB, free: 1.43 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.708e-05/0.3153, allocations: 0 / 0.9982 GB, free: 1.43 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004238/0.3157, allocations: 83.92 kB / 0.9982 GB, free: 1.348 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-05/0.3158, allocations: 40 kB / 0.9983 GB, free: 1.309 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00702/0.3228, allocations: 2.074 MB / 1 GB, free: 15.23 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01637/0.3392, allocations: 4.488 MB / 1.005 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006142/0.3453, allocations: 1.777 MB / 1.006 GB, free: 8.895 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002448/0.3478, allocations: 0.7385 MB / 1.007 GB, free: 8.156 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006769/0.3484, allocations: 129.2 kB / 1.007 GB, free: 8.031 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004025/0.3525, allocations: 1.656 MB / 1.009 GB, free: 6.211 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=154): time 6.351e-06/0.3525, allocations: 4 kB / 1.009 GB, free: 6.207 MB / 0.9636 GB Notification: Performance of matching and sorting (n=154): time 0.01203/0.3645, allocations: 2.707 MB / 1.012 GB, free: 3.477 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002269/0.3647, allocations: 205.2 kB / 1.012 GB, free: 3.234 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00459/0.3693, allocations: 1.73 MB / 1.013 GB, free: 1.488 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0004046/0.3697, allocations: 65.7 kB / 1.013 GB, free: 1.418 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.001408/0.3711, allocations: 0.8634 MB / 1.014 GB, free: 0.543 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009051/0.372, allocations: 0.519 MB / 1.015 GB, free: 20 kB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009574/0.373, allocations: 267.6 kB / 1.015 GB, free: 15.75 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0002896/0.3733, allocations: 361.9 kB / 1.015 GB, free: 15.39 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002236/0.3755, allocations: 0.6325 MB / 1.016 GB, free: 14.75 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003163/0.3787, allocations: 1.282 MB / 1.017 GB, free: 13.32 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004111/0.3828, allocations: 1.411 MB / 1.019 GB, free: 11.9 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.231e-06/0.3828, allocations: 0 / 1.019 GB, free: 11.9 MB / 0.9792 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.005188/0.388, allocations: 1.976 MB / 1.021 GB, free: 9.898 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 2.625e-05/0.388, allocations: 4 kB / 1.021 GB, free: 9.895 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/0.388, allocations: 4 kB / 1.021 GB, free: 9.891 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001746/0.3898, allocations: 276.1 kB / 1.021 GB, free: 9.605 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001824/0.3916, allocations: 351.5 kB / 1.021 GB, free: 9.262 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0077/0.3993, allocations: 6.714 MB / 1.028 GB, free: 2.031 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001834/0.4011, allocations: 159.2 kB / 1.028 GB, free: 1.875 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002965/0.4014, allocations: 68.02 kB / 1.028 GB, free: 1.809 MB / 0.9792 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.001404/0.4028, allocations: 492 kB / 1.028 GB, free: 1.32 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001016/0.4038, allocations: 238.8 kB / 1.029 GB, free: 1.086 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006259/0.4101, allocations: 2.183 MB / 1.031 GB, free: 14.87 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-05/0.4101, allocations: 16 kB / 1.031 GB, free: 14.85 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.103e-05/0.4101, allocations: 0 / 1.031 GB, free: 14.85 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.707e-05/0.4102, allocations: 11.97 kB / 1.031 GB, free: 14.84 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009604/0.4198, allocations: 3.772 MB / 1.035 GB, free: 11 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.006e-05/0.4198, allocations: 0 / 1.035 GB, free: 11 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001741/0.4215, allocations: 323.6 kB / 1.035 GB, free: 10.69 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001512/0.423, allocations: 272 kB / 1.035 GB, free: 10.41 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001547/0.4232, allocations: 39.97 kB / 1.035 GB, free: 10.37 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00766/0.4308, allocations: 6.729 MB / 1.042 GB, free: 3.117 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.4308, allocations: 0 / 1.042 GB, free: 3.117 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005888/0.4367, allocations: 2.121 MB / 1.044 GB, free: 0.9609 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001245/0.438, allocations: 394.2 kB / 1.044 GB, free: 0.5742 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005109/0.4385, allocations: 39.92 kB / 1.044 GB, free: 0.5352 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001738/0.4402, allocations: 112.2 kB / 1.044 GB, free: 440 kB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003535/0.4406, allocations: 121.8 kB / 1.044 GB, free: 316 kB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002369/0.4408, allocations: 71.94 kB / 1.044 GB, free: 244 kB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.002542/0.4434, allocations: 1.236 MB / 1.046 GB, free: 15 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.4434, allocations: 0 / 1.046 GB, free: 15 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.002797/0.4462, allocations: 0.721 MB / 1.046 GB, free: 14.28 MB / 1.01 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.003663/0.4498, allocations: 0.8191 MB / 1.047 GB, free: 13.67 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.006479/0.4563, allocations: 2.132 MB / 1.049 GB, free: 11.48 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 8.877e-06/0.4563, allocations: 0.6562 kB / 1.049 GB, free: 11.48 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.004202/0.4605, allocations: 1.383 MB / 1.051 GB, free: 10.03 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004898/0.4654, allocations: 0.5914 MB / 1.051 GB, free: 9.457 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01274/0.4781, allocations: 3.938 MB / 1.055 GB, free: 5.469 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002174/0.4803, allocations: 0.9692 MB / 1.056 GB, free: 4.461 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.003506/0.4838, allocations: 0.4927 MB / 1.056 GB, free: 3.961 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001015/0.4848, allocations: 180.4 kB / 1.057 GB, free: 3.785 MB / 1.01 GB Notification: Performance of SimCode: time 1.223e-06/0.4848, allocations: 0 / 1.057 GB, free: 3.785 MB / 1.01 GB Notification: Performance of Templates: time 0.5373/1.022, allocations: 32.73 MB / 1.089 GB, free: 282 MB / 1.01 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.258637411985546]