Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData.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.0008021/0.0008021, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.0008468/0.0008468, allocations: 174.3 kB / 23.21 MB, free: 1.352 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 0.8501/0.8501, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.626/1.626, allocations: 359 MB / 0.6044 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.Examples.Outside_CpData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 0.9517 GB, free: 3.016 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.079e-05/2.208e-05, allocations: 2.281 kB / 0.9517 GB, free: 3.012 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.617/0.617, allocations: 148.2 MB / 1.096 GB, free: 39.28 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.01418/0.6312, allocations: 16.17 MB / 1.112 GB, free: 34.94 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001171/0.6323, allocations: 43.84 kB / 1.112 GB, free: 34.92 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.001177/0.6335, allocations: 0.5621 MB / 1.113 GB, free: 34.59 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.003641/0.6372, allocations: 1.882 MB / 1.115 GB, free: 33.8 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002719/0.6399, allocations: 1.499 MB / 1.116 GB, free: 33.18 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.00254/0.6424, allocations: 2.969 MB / 1.119 GB, free: 31.75 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00162/0.644, allocations: 1.593 MB / 1.121 GB, free: 31.02 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0031/0.6471, allocations: 2.02 MB / 1.123 GB, free: 30.24 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00141/0.6485, allocations: 0.9422 MB / 1.123 GB, free: 29.93 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0004456/0.649, allocations: 227.8 kB / 1.124 GB, free: 29.93 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003504/0.6525, allocations: 1.474 MB / 1.125 GB, free: 29.51 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0005814/0.6531, allocations: 0.8345 MB / 1.126 GB, free: 29.05 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0009447/0.654, allocations: 0.8391 MB / 1.127 GB, free: 28.66 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.004589/0.6586, allocations: 3.848 MB / 1.131 GB, free: 27.19 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.6586, allocations: 0 / 1.131 GB, free: 27.19 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.894e-06/0.6586, allocations: 0 / 1.131 GB, free: 27.19 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0001061/0.6587, allocations: 0 / 1.131 GB, free: 27.19 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 435 * Number of variables: 435 Notification: Performance of Generate backend data structure: time 0.004209/0.6629, allocations: 2.793 MB / 1.133 GB, free: 25.44 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.663, allocations: 9.438 kB / 1.133 GB, free: 25.44 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002442/0.6654, allocations: 0.6208 MB / 1.134 GB, free: 25.27 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002208/0.6676, allocations: 1.587 MB / 1.135 GB, free: 24.43 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001657/0.6678, allocations: 134.3 kB / 1.136 GB, free: 24.38 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002813/0.6681, allocations: 170.6 kB / 1.136 GB, free: 24.32 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002684/0.6708, allocations: 2.719 MB / 1.138 GB, free: 22.61 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.739e-05/0.6708, allocations: 2.062 kB / 1.138 GB, free: 22.61 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000116/0.6709, allocations: 78.08 kB / 1.138 GB, free: 22.55 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.036e-05/0.6709, allocations: 41.84 kB / 1.138 GB, free: 22.55 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002505/0.6734, allocations: 2.045 MB / 1.14 GB, free: 22.02 MB / 0.9948 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005694/0.6791, allocations: 4.418 MB / 1.145 GB, free: 19.83 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002204/0.6813, allocations: 1.732 MB / 1.147 GB, free: 19.28 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000824/0.6822, allocations: 0.7221 MB / 1.147 GB, free: 19.03 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002902/0.6824, allocations: 121.5 kB / 1.147 GB, free: 19.01 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001235/0.6837, allocations: 1.64 MB / 1.149 GB, free: 17.88 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=154): time 3.978e-06/0.6837, allocations: 5.031 kB / 1.149 GB, free: 17.88 MB / 0.9948 GB Notification: Performance of matching and sorting (n=154): time 0.003948/0.6876, allocations: 2.611 MB / 1.151 GB, free: 17.01 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.006e-05/0.6877, allocations: 202.8 kB / 1.152 GB, free: 16.79 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001616/0.6893, allocations: 1.712 MB / 1.153 GB, free: 16.2 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001023/0.6894, allocations: 67.67 kB / 1.153 GB, free: 16.14 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004051/0.6898, allocations: 0.8583 MB / 1.154 GB, free: 15.48 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002206/0.69, allocations: 0.5174 MB / 1.155 GB, free: 15.05 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002878/0.6903, allocations: 269.6 kB / 1.155 GB, free: 14.94 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 5.858e-05/0.6904, allocations: 359.1 kB / 1.155 GB, free: 14.61 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007294/0.6911, allocations: 0.6178 MB / 1.156 GB, free: 14.41 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000921/0.692, allocations: 1.267 MB / 1.157 GB, free: 13.5 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001594/0.6936, allocations: 1.386 MB / 1.159 GB, free: 12.94 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.6936, allocations: 0 / 1.159 GB, free: 12.94 MB / 0.9948 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.002435/0.6961, allocations: 1.897 MB / 1.16 GB, free: 12.21 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.6961, allocations: 5.688 kB / 1.16 GB, free: 12.21 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.6961, allocations: 1.094 kB / 1.16 GB, free: 12.21 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005436/0.6966, allocations: 219.6 kB / 1.161 GB, free: 12.13 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008366/0.6975, allocations: 340.8 kB / 1.161 GB, free: 12.11 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002778/0.7003, allocations: 6.675 MB / 1.167 GB, free: 5.664 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008219/0.7011, allocations: 151.6 kB / 1.168 GB, free: 5.586 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.641e-05/0.7012, allocations: 60.55 kB / 1.168 GB, free: 5.574 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 (165): * Single equations (assignments): 160 * 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.0006662/0.7018, allocations: 499.4 kB / 1.168 GB, free: 5.281 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002169/0.702, allocations: 182.2 kB / 1.168 GB, free: 5.188 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00262/0.7047, allocations: 2.16 MB / 1.17 GB, free: 4.352 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.235e-06/0.7047, allocations: 16.56 kB / 1.17 GB, free: 4.352 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.7047, allocations: 10.75 kB / 1.17 GB, free: 4.344 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.167e-05/0.7047, allocations: 10.73 kB / 1.17 GB, free: 4.34 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004363/0.709, allocations: 3.748 MB / 1.174 GB, free: 2.734 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.7091, allocations: 4 kB / 1.174 GB, free: 2.73 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007032/0.7098, allocations: 318.2 kB / 1.174 GB, free: 2.711 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004063/0.7102, allocations: 199.3 kB / 1.175 GB, free: 2.641 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.926e-05/0.7102, allocations: 43.59 kB / 1.175 GB, free: 2.617 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002804/0.713, allocations: 6.705 MB / 1.181 GB, free: 12.16 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.713, allocations: 0 / 1.181 GB, free: 12.16 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002376/0.7154, allocations: 2.042 MB / 1.183 GB, free: 11.32 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005725/0.716, allocations: 403.7 kB / 1.184 GB, free: 11.1 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001511/0.7161, allocations: 33.95 kB / 1.184 GB, free: 11.07 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005944/0.7167, allocations: 108.7 kB / 1.184 GB, free: 11.04 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001745/0.7169, allocations: 127.8 kB / 1.184 GB, free: 11.02 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.674e-05/0.717, allocations: 70.83 kB / 1.184 GB, free: 11 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.001084/0.7181, allocations: 1.224 MB / 1.185 GB, free: 10.58 MB / 1.01 GB Notification: Performance of sort global known variables: time 6e-08/0.7181, allocations: 2.562 kB / 1.185 GB, free: 10.58 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001567/0.7197, allocations: 0.7065 MB / 1.186 GB, free: 10.4 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.001332/0.721, allocations: 0.8098 MB / 1.187 GB, free: 10.07 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.002117/0.7231, allocations: 2.089 MB / 1.189 GB, free: 9.043 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 6.593e-06/0.7231, allocations: 3.75 kB / 1.189 GB, free: 9.043 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.001113/0.7242, allocations: 1.375 MB / 1.19 GB, free: 8.227 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001268/0.7255, allocations: 0.5164 MB / 1.19 GB, free: 8.043 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004016/0.7295, allocations: 3.755 MB / 1.194 GB, free: 6.246 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006655/0.7302, allocations: 0.9168 MB / 1.195 GB, free: 6.035 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003974/0.7306, allocations: 196.2 kB / 1.195 GB, free: 6.008 MB / 1.01 GB Notification: Performance of SimCode: time 8.72e-07/0.7306, allocations: 0 / 1.195 GB, free: 6.008 MB / 1.01 GB Notification: Performance of Templates: time 0.04612/0.7767, allocations: 68.63 MB / 1.262 GB, free: 9.82 MB / 1.073 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData.sim & ./Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sources_Examples_Outside_CpData.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData.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.389764090068638]