Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.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.0007872/0.0007872, allocations: 72.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.0007577/0.0007577, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8635/0.8635, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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 1.693/1.693, allocations: 377.9 MB / 0.6229 GB, free: 8.684 MB / 0.5886 GB " [Timeout remaining time 178] 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.Examples.Outside_CpData_Angles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaDat.weaBus.winDir|symNor.CpAct|symWes.CpAct|asyNor.CpAct|asyWes.CpAct",fileNamePrefix="Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaDat.weaBus.winDir|symNor.CpAct|symWes.CpAct|asyNor.CpAct|asyWes.CpAct",fileNamePrefix="Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 0.9822 GB, free: 2.137 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.698e-05/1.841e-05, allocations: 6.219 kB / 0.9822 GB, free: 2.129 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.5924/0.5925, allocations: 148.3 MB / 1.127 GB, free: 12.92 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.01475/0.6072, allocations: 16.18 MB / 1.143 GB, free: 2.051 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001156/0.6084, allocations: 43.69 kB / 1.143 GB, free: 2.027 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.001289/0.6097, allocations: 0.5667 MB / 1.143 GB, free: 1.684 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.003756/0.6134, allocations: 1.882 MB / 1.145 GB, free: 0.6406 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0029/0.6163, allocations: 1.506 MB / 1.147 GB, free: 15.82 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.002798/0.6191, allocations: 3.001 MB / 1.15 GB, free: 14.31 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00168/0.6208, allocations: 1.589 MB / 1.151 GB, free: 13.49 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003057/0.6238, allocations: 2.021 MB / 1.153 GB, free: 12.62 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009978/0.6248, allocations: 0.9424 MB / 1.154 GB, free: 12.29 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0002431/0.6251, allocations: 230.2 kB / 1.154 GB, free: 12.29 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002539/0.6276, allocations: 1.475 MB / 1.156 GB, free: 11.86 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0006238/0.6282, allocations: 0.8464 MB / 1.157 GB, free: 11.4 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0007605/0.629, allocations: 0.852 MB / 1.157 GB, free: 11 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.004151/0.6332, allocations: 3.863 MB / 1.161 GB, free: 9.52 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.6332, allocations: 0 / 1.161 GB, free: 9.52 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.154e-06/0.6332, allocations: 1.953 kB / 1.161 GB, free: 9.52 MB / 1.01 GB Notification: Performance of Transformations before backend: time 2.787e-05/0.6332, allocations: 0 / 1.161 GB, free: 9.52 MB / 1.01 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.003334/0.6365, allocations: 2.821 MB / 1.164 GB, free: 7.766 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.6366, allocations: 10.34 kB / 1.164 GB, free: 7.766 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002212/0.6388, allocations: 0.6255 MB / 1.165 GB, free: 7.598 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001997/0.6408, allocations: 1.591 MB / 1.166 GB, free: 6.758 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001205/0.6409, allocations: 138.8 kB / 1.166 GB, free: 6.695 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001992/0.6411, allocations: 175.1 kB / 1.166 GB, free: 6.641 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00273/0.6438, allocations: 2.726 MB / 1.169 GB, free: 4.934 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.659e-05/0.6438, allocations: 0 / 1.169 GB, free: 4.934 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001267/0.644, allocations: 79.78 kB / 1.169 GB, free: 4.875 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.397e-05/0.644, allocations: 45.38 kB / 1.169 GB, free: 4.871 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002573/0.6466, allocations: 2.076 MB / 1.171 GB, free: 4.328 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006723/0.6533, allocations: 4.431 MB / 1.176 GB, free: 2.133 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003449/0.6568, allocations: 1.782 MB / 1.177 GB, free: 1.543 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001289/0.658, allocations: 0.734 MB / 1.178 GB, free: 1.293 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003968/0.6584, allocations: 120.7 kB / 1.178 GB, free: 1.273 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002153/0.6606, allocations: 1.642 MB / 1.18 GB, free: 160 kB / 1.01 GB Notification: Performance of pre-optimization done (n=154): time 4.348e-06/0.6606, allocations: 0 / 1.18 GB, free: 160 kB / 1.01 GB Notification: Performance of matching and sorting (n=154): time 0.006072/0.6667, allocations: 2.659 MB / 1.182 GB, free: 15.27 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001186/0.6668, allocations: 202.9 kB / 1.183 GB, free: 15.05 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002431/0.6692, allocations: 1.757 MB / 1.184 GB, free: 14.45 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.0001427/0.6694, allocations: 67.05 kB / 1.184 GB, free: 14.39 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.000733/0.6701, allocations: 0.8721 MB / 1.185 GB, free: 13.72 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003542/0.6704, allocations: 0.5172 MB / 1.186 GB, free: 13.29 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003103/0.6708, allocations: 271.2 kB / 1.186 GB, free: 13.18 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.6709, allocations: 361.8 kB / 1.186 GB, free: 12.85 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007865/0.6716, allocations: 0.6276 MB / 1.187 GB, free: 12.65 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001038/0.6727, allocations: 1.29 MB / 1.188 GB, free: 11.73 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001584/0.6743, allocations: 1.405 MB / 1.19 GB, free: 11.17 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.6743, allocations: 2.719 kB / 1.19 GB, free: 11.17 MB / 1.026 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.002372/0.6766, allocations: 1.923 MB / 1.191 GB, free: 10.44 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.6767, allocations: 5.406 kB / 1.191 GB, free: 10.44 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/0.6767, allocations: 6.594 kB / 1.191 GB, free: 10.43 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005378/0.6772, allocations: 203.1 kB / 1.192 GB, free: 10.37 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008251/0.678, allocations: 352.9 kB / 1.192 GB, free: 10.31 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003533/0.6816, allocations: 6.676 MB / 1.198 GB, free: 3.691 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009014/0.6825, allocations: 160.6 kB / 1.199 GB, free: 3.59 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.059e-05/0.6826, allocations: 61.36 kB / 1.199 GB, free: 3.566 MB / 1.026 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.0007564/0.6833, allocations: 0.4899 MB / 1.199 GB, free: 3.234 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002115/0.6835, allocations: 192.2 kB / 1.199 GB, free: 3.129 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002715/0.6862, allocations: 2.182 MB / 1.201 GB, free: 1.949 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.674e-06/0.6862, allocations: 19.59 kB / 1.202 GB, free: 1.945 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.6862, allocations: 2.844 kB / 1.202 GB, free: 1.945 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.044e-05/0.6863, allocations: 7.969 kB / 1.202 GB, free: 1.938 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00429/0.6905, allocations: 3.771 MB / 1.205 GB, free: 15.73 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.6906, allocations: 0 / 1.205 GB, free: 15.73 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007244/0.6913, allocations: 324.8 kB / 1.206 GB, free: 15.65 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004146/0.6917, allocations: 206.8 kB / 1.206 GB, free: 15.53 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.544e-05/0.6918, allocations: 38.38 kB / 1.206 GB, free: 15.5 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003205/0.695, allocations: 6.705 MB / 1.212 GB, free: 8.859 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/0.695, allocations: 2.688 kB / 1.212 GB, free: 8.859 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002393/0.6974, allocations: 2.069 MB / 1.214 GB, free: 7.777 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005529/0.6979, allocations: 402.5 kB / 1.215 GB, free: 7.492 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001481/0.6981, allocations: 42.22 kB / 1.215 GB, free: 7.461 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006168/0.6987, allocations: 112.4 kB / 1.215 GB, free: 7.402 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001683/0.6988, allocations: 124 kB / 1.215 GB, free: 7.32 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001022/0.6989, allocations: 69.73 kB / 1.215 GB, free: 7.297 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.00109/0.7, allocations: 1.246 MB / 1.216 GB, free: 6.672 MB / 1.042 GB Notification: Performance of sort global known variables: time 6e-08/0.7, allocations: 0 / 1.216 GB, free: 6.672 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.001615/0.7017, allocations: 0.7161 MB / 1.217 GB, free: 6.477 MB / 1.042 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.001338/0.703, allocations: 0.8197 MB / 1.218 GB, free: 6.113 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.002182/0.7052, allocations: 2.105 MB / 1.22 GB, free: 4.867 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.7052, allocations: 7.219 kB / 1.22 GB, free: 4.863 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.001155/0.7063, allocations: 1.389 MB / 1.221 GB, free: 3.75 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001293/0.7076, allocations: 0.5089 MB / 1.222 GB, free: 3.258 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004323/0.7119, allocations: 3.882 MB / 1.225 GB, free: 15.34 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00062/0.7126, allocations: 0.9265 MB / 1.226 GB, free: 14.38 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004221/0.713, allocations: 200.4 kB / 1.227 GB, free: 14.18 MB / 1.057 GB Notification: Performance of SimCode: time 6.51e-07/0.713, allocations: 3.938 kB / 1.227 GB, free: 14.18 MB / 1.057 GB Notification: Performance of Templates: time 0.04564/0.7586, allocations: 69.32 MB / 1.294 GB, free: 8.898 MB / 1.12 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.sim & ./Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Examples_Outside_CpData_Angles.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.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.42657680157572]