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.001964/0.001964, allocations: 83.69 kB / 20.23 MB, free: 4.191 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.002011/0.002011, allocations: 161.7 kB / 23.55 MB, free: 0.875 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.623/1.623, allocations: 177.1 MB / 203.9 MB, free: 5.613 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 3.049/3.049, allocations: 377.8 MB / 0.6232 GB, free: 8.512 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.573e-06/1.573e-06, allocations: 1.094 kB / 0.8108 GB, free: 2.113 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.019e-05/3.176e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.109 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.2486/0.2486, allocations: 164.2 MB / 0.9712 GB, free: 13.35 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.03107/0.2797, allocations: 17.8 MB / 0.9886 GB, free: 11.49 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001915/0.2816, allocations: 43.62 kB / 0.9886 GB, free: 11.45 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.002199/0.2838, allocations: 0.5737 MB / 0.9892 GB, free: 10.87 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.006461/0.2903, allocations: 1.892 MB / 0.991 GB, free: 8.969 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.004356/0.2946, allocations: 1.477 MB / 0.9924 GB, free: 7.488 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.005334/0.2999, allocations: 3.003 MB / 0.9954 GB, free: 4.477 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003148/0.3031, allocations: 1.646 MB / 0.997 GB, free: 2.777 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006761/0.3099, allocations: 2.132 MB / 0.9991 GB, free: 0.7852 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002011/0.3119, allocations: 0.9387 MB / 1 GB, free: 15.84 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.0004809/0.3123, allocations: 228 kB / 1 GB, free: 15.62 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003692/0.316, allocations: 1.477 MB / 1.002 GB, free: 14.14 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.001309/0.3173, allocations: 0.8452 MB / 1.002 GB, free: 13.29 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.001436/0.3188, allocations: 0.8417 MB / 1.003 GB, free: 12.45 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.006837/0.3256, allocations: 3.867 MB / 1.007 GB, free: 8.57 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.3256, allocations: 4 kB / 1.007 GB, free: 8.566 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.793e-06/0.3256, allocations: 0 / 1.007 GB, free: 8.566 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 7.671e-05/0.3257, allocations: 7.938 kB / 1.007 GB, free: 8.559 MB / 0.9636 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.006303/0.332, allocations: 3.072 MB / 1.01 GB, free: 5.426 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.3321, allocations: 8.031 kB / 1.01 GB, free: 5.418 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00478/0.3368, allocations: 0.8672 MB / 1.011 GB, free: 4.547 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003087/0.3399, allocations: 1.395 MB / 1.012 GB, free: 3.113 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001519/0.3401, allocations: 135.4 kB / 1.012 GB, free: 2.98 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003239/0.3404, allocations: 192 kB / 1.013 GB, free: 2.793 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004338/0.3447, allocations: 2.562 MB / 1.015 GB, free: 15.98 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.767e-05/0.3448, allocations: 4 kB / 1.015 GB, free: 15.98 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001861/0.345, allocations: 75.94 kB / 1.015 GB, free: 15.9 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.865e-05/0.345, allocations: 44 kB / 1.015 GB, free: 15.86 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003748/0.3488, allocations: 1.629 MB / 1.017 GB, free: 14.23 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.011/0.3598, allocations: 5.437 MB / 1.022 GB, free: 8.66 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003175/0.3629, allocations: 1.305 MB / 1.023 GB, free: 7.352 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001185/0.3641, allocations: 0.5461 MB / 1.024 GB, free: 6.805 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004944/0.3646, allocations: 125.2 kB / 1.024 GB, free: 6.684 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00225/0.3669, allocations: 1.502 MB / 1.026 GB, free: 5.008 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=154): time 4.939e-06/0.3669, allocations: 0 / 1.026 GB, free: 5.008 MB / 0.9792 GB Notification: Performance of matching and sorting (n=154): time 0.006993/0.3739, allocations: 2.127 MB / 1.028 GB, free: 2.855 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00018/0.374, allocations: 205.2 kB / 1.028 GB, free: 2.613 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002588/0.3766, allocations: 1.6 MB / 1.029 GB, free: 0.9805 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0001643/0.3768, allocations: 61.7 kB / 1.029 GB, free: 0.9141 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.001238/0.378, allocations: 1 MB / 1.03 GB, free: 15.89 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006197/0.3786, allocations: 0.5541 MB / 1.031 GB, free: 15.34 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005805/0.3792, allocations: 325.2 kB / 1.031 GB, free: 15.01 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0003676/0.3796, allocations: 0.5746 MB / 1.032 GB, free: 14.43 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001039/0.3806, allocations: 423.8 kB / 1.032 GB, free: 14.02 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001739/0.3824, allocations: 1.152 MB / 1.033 GB, free: 12.69 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002294/0.3847, allocations: 1.035 MB / 1.034 GB, free: 11.64 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.3847, allocations: 0 / 1.034 GB, free: 11.64 MB / 0.9948 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.004176/0.3889, allocations: 1.584 MB / 1.036 GB, free: 10.02 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/0.3889, allocations: 8 kB / 1.036 GB, free: 10.02 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.3889, allocations: 0 / 1.036 GB, free: 10.02 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001689/0.3906, allocations: 302.2 kB / 1.036 GB, free: 9.699 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001719/0.3923, allocations: 355.5 kB / 1.037 GB, free: 9.352 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3714/0.7637, allocations: 9.333 MB / 1.046 GB, free: 270.2 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002305/0.766, allocations: 140.8 kB / 1.046 GB, free: 270.2 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002359/0.7662, allocations: 57.91 kB / 1.046 GB, free: 270.2 MB / 0.9948 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.001077/0.7673, allocations: 367.1 kB / 1.046 GB, free: 270 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007395/0.768, allocations: 241 kB / 1.046 GB, free: 270 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005086/0.7731, allocations: 1.78 MB / 1.048 GB, free: 269.9 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.979e-05/0.7731, allocations: 16.75 kB / 1.048 GB, free: 269.9 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.128e-05/0.7731, allocations: 3.656 kB / 1.048 GB, free: 269.9 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.331e-05/0.7732, allocations: 7.312 kB / 1.048 GB, free: 269.9 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009685/0.7829, allocations: 3.641 MB / 1.052 GB, free: 269.3 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.968e-06/0.7829, allocations: 1.5 kB / 1.052 GB, free: 269.3 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00243/0.7853, allocations: 318.4 kB / 1.052 GB, free: 269.3 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002021/0.7873, allocations: 290.2 kB / 1.052 GB, free: 269.2 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002422/0.7876, allocations: 43.38 kB / 1.052 GB, free: 269.2 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007033/0.7946, allocations: 9.362 MB / 1.062 GB, free: 260.1 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.7946, allocations: 0 / 1.062 GB, free: 260.1 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006261/0.8009, allocations: 1.819 MB / 1.063 GB, free: 259.3 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001732/0.8026, allocations: 385.7 kB / 1.064 GB, free: 259.1 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004436/0.803, allocations: 36.91 kB / 1.064 GB, free: 259.1 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001823/0.8049, allocations: 85.59 kB / 1.064 GB, free: 259.1 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003774/0.8052, allocations: 123.6 kB / 1.064 GB, free: 259 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002356/0.8055, allocations: 72.52 kB / 1.064 GB, free: 259 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.001984/0.8075, allocations: 0.9725 MB / 1.065 GB, free: 258.7 MB / 0.9948 GB Notification: Performance of sort global known variables: time 2.7e-07/0.8075, allocations: 1.938 kB / 1.065 GB, free: 258.7 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.002823/0.8103, allocations: 0.7254 MB / 1.066 GB, free: 258.6 MB / 0.9948 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.005553/0.8158, allocations: 0.8091 MB / 1.066 GB, free: 258.4 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.005019/0.8208, allocations: 2.091 MB / 1.068 GB, free: 257.2 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.177e-05/0.8209, allocations: 3.375 kB / 1.068 GB, free: 257.2 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.002835/0.8237, allocations: 1.564 MB / 1.07 GB, free: 256.1 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004406/0.8281, allocations: 0.5842 MB / 1.071 GB, free: 255.9 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008612/0.8367, allocations: 3.597 MB / 1.074 GB, free: 254.1 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001315/0.838, allocations: 0.9411 MB / 1.075 GB, free: 253.9 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.002855/0.8409, allocations: 466.1 kB / 1.075 GB, free: 253.8 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007764/0.8417, allocations: 180.4 kB / 1.076 GB, free: 253.8 MB / 0.9948 GB Notification: Performance of SimCode: time 2.064e-06/0.8417, allocations: 0 / 1.076 GB, free: 253.8 MB / 0.9948 GB Notification: Performance of Templates: time 0.07274/0.9144, allocations: 32.84 MB / 1.108 GB, free: 245.4 MB / 0.9948 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe 2>&1) [Timeout 240] 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.463973517064005]