Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001804/0.001804, allocations: 77.33 kB / 19.18 MB, free: 2.512 MB / 14.72 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.002671/0.002671, allocations: 161.2 kB / 22.46 MB, free: 5.391 MB / 14.72 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.469/1.469, allocations: 177.1 MB / 202.8 MB, free: 9.148 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.004/3.004, allocations: 389 MB / 0.633 GB, free: 0.9844 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 1 GB, free: 7.234 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.081e-05/3.235e-05, allocations: 5.938 kB / 1 GB, free: 7.23 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.8402/0.8403, allocations: 148.3 MB / 1.145 GB, free: 45.21 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.03816/0.8784, allocations: 16.14 MB / 1.161 GB, free: 44.95 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003199/0.8816, allocations: 39.28 kB / 1.161 GB, free: 44.95 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.002966/0.8846, allocations: 0.5737 MB / 1.161 GB, free: 44.94 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.009008/0.8936, allocations: 1.87 MB / 1.163 GB, free: 44.88 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.006336/0.8999, allocations: 1.492 MB / 1.165 GB, free: 44.84 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.005285/0.9052, allocations: 2.985 MB / 1.168 GB, free: 44.28 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004009/0.9092, allocations: 1.508 MB / 1.169 GB, free: 44.09 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007799/0.917, allocations: 2.02 MB / 1.171 GB, free: 43.95 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001738/0.9188, allocations: 0.9339 MB / 1.172 GB, free: 43.86 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0004584/0.9192, allocations: 228.9 kB / 1.172 GB, free: 43.86 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003974/0.9232, allocations: 1.486 MB / 1.174 GB, free: 43.76 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0006398/0.9238, allocations: 0.8463 MB / 1.174 GB, free: 43.64 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.001508/0.9254, allocations: 0.848 MB / 1.175 GB, free: 43.54 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.005874/0.9312, allocations: 3.852 MB / 1.179 GB, free: 43.15 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.9312, allocations: 1.938 kB / 1.179 GB, free: 43.15 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.442e-06/0.9312, allocations: 0 / 1.179 GB, free: 43.15 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.903e-05/0.9313, allocations: 1 kB / 1.179 GB, free: 43.15 MB / 1.076 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.005274/0.9366, allocations: 2.808 MB / 1.182 GB, free: 41.8 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.9366, allocations: 10.47 kB / 1.182 GB, free: 41.8 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004596/0.9412, allocations: 0.626 MB / 1.182 GB, free: 41.65 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00293/0.9441, allocations: 1.58 MB / 1.184 GB, free: 41.24 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001074/0.9442, allocations: 137.2 kB / 1.184 GB, free: 41.23 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002674/0.9445, allocations: 173.1 kB / 1.184 GB, free: 41.23 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004044/0.9486, allocations: 2.736 MB / 1.187 GB, free: 40.12 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.787e-05/0.9486, allocations: 4.641 kB / 1.187 GB, free: 40.11 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002022/0.9488, allocations: 75.36 kB / 1.187 GB, free: 40.11 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.237e-05/0.9488, allocations: 42.41 kB / 1.187 GB, free: 40.11 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004035/0.9529, allocations: 2.077 MB / 1.189 GB, free: 40.05 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009548/0.9624, allocations: 4.423 MB / 1.193 GB, free: 38 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003446/0.9659, allocations: 1.78 MB / 1.195 GB, free: 37.44 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001326/0.9672, allocations: 0.7314 MB / 1.196 GB, free: 37.2 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005019/0.9677, allocations: 122.4 kB / 1.196 GB, free: 37.18 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002088/0.9698, allocations: 1.64 MB / 1.197 GB, free: 36.08 MB / 1.076 GB Notification: Performance of pre-optimization done (n=154): time 3.426e-06/0.9698, allocations: 1.062 kB / 1.197 GB, free: 36.08 MB / 1.076 GB Notification: Performance of matching and sorting (n=154): time 0.007145/0.9769, allocations: 2.661 MB / 1.2 GB, free: 35.23 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.309e-05/0.977, allocations: 206.8 kB / 1.2 GB, free: 35.01 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002316/0.9793, allocations: 1.739 MB / 1.202 GB, free: 34.41 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0002272/0.9795, allocations: 64.39 kB / 1.202 GB, free: 34.36 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006019/0.9801, allocations: 0.8712 MB / 1.203 GB, free: 33.68 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003465/0.9805, allocations: 0.512 MB / 1.203 GB, free: 33.27 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004365/0.9809, allocations: 275.2 kB / 1.204 GB, free: 33.15 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 8.146e-05/0.981, allocations: 356 kB / 1.204 GB, free: 32.83 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001208/0.9822, allocations: 0.6325 MB / 1.205 GB, free: 32.63 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001429/0.9836, allocations: 1.28 MB / 1.206 GB, free: 31.72 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002498/0.9861, allocations: 1.408 MB / 1.207 GB, free: 31.17 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/0.9861, allocations: 1.062 kB / 1.207 GB, free: 31.17 MB / 1.076 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.004268/0.9904, allocations: 1.929 MB / 1.209 GB, free: 30.46 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.9904, allocations: 6.922 kB / 1.209 GB, free: 30.46 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.9904, allocations: 1.219 kB / 1.209 GB, free: 30.46 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001073/0.9915, allocations: 213.1 kB / 1.209 GB, free: 30.39 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001621/0.9931, allocations: 348.8 kB / 1.21 GB, free: 30.38 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00421/0.9973, allocations: 6.682 MB / 1.216 GB, free: 23.98 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001696/0.999, allocations: 162.7 kB / 1.216 GB, free: 23.9 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001373/0.9992, allocations: 63.23 kB / 1.216 GB, free: 23.89 MB / 1.076 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.001024/1, allocations: 498.5 kB / 1.217 GB, free: 23.62 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003589/1.001, allocations: 188.7 kB / 1.217 GB, free: 23.52 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004474/1.005, allocations: 2.175 MB / 1.219 GB, free: 22.72 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.355e-05/1.005, allocations: 16.09 kB / 1.219 GB, free: 22.72 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/1.005, allocations: 6.75 kB / 1.219 GB, free: 22.71 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.854e-05/1.005, allocations: 8.609 kB / 1.219 GB, free: 22.71 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006793/1.012, allocations: 3.751 MB / 1.223 GB, free: 21.18 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/1.012, allocations: 0.8125 kB / 1.223 GB, free: 21.18 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001502/1.013, allocations: 323.4 kB / 1.223 GB, free: 21.17 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008703/1.014, allocations: 204.5 kB / 1.223 GB, free: 21.1 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001078/1.014, allocations: 41.58 kB / 1.223 GB, free: 21.08 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004077/1.018, allocations: 6.715 MB / 1.23 GB, free: 14.66 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/1.018, allocations: 0 / 1.23 GB, free: 14.66 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004338/1.023, allocations: 2.055 MB / 1.232 GB, free: 13.84 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009851/1.024, allocations: 400.9 kB / 1.232 GB, free: 13.62 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002743/1.024, allocations: 37.72 kB / 1.232 GB, free: 13.6 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001315/1.025, allocations: 109.7 kB / 1.232 GB, free: 13.57 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003389/1.026, allocations: 125.9 kB / 1.233 GB, free: 13.55 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001718/1.026, allocations: 73.45 kB / 1.233 GB, free: 13.54 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001699/1.028, allocations: 1.243 MB / 1.234 GB, free: 13.11 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/1.028, allocations: 0 / 1.234 GB, free: 13.11 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.002195/1.03, allocations: 0.7073 MB / 1.235 GB, free: 12.93 MB / 1.076 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 (156): * Single equations (assignments): 141 * 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.002583/1.032, allocations: 0.8102 MB / 1.235 GB, free: 12.68 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.00378/1.036, allocations: 2.111 MB / 1.237 GB, free: 11.66 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 7.374e-06/1.036, allocations: 2.359 kB / 1.237 GB, free: 11.66 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.002035/1.038, allocations: 1.385 MB / 1.239 GB, free: 10.88 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002533/1.041, allocations: 0.5019 MB / 1.239 GB, free: 10.69 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006155/1.047, allocations: 3.945 MB / 1.243 GB, free: 8.848 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008944/1.048, allocations: 0.9629 MB / 1.244 GB, free: 8.629 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001768/1.049, allocations: 0.4907 MB / 1.245 GB, free: 8.484 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005132/1.05, allocations: 172 kB / 1.245 GB, free: 8.465 MB / 1.076 GB Notification: Performance of SimCode: time 7.82e-07/1.05, allocations: 0 / 1.245 GB, free: 8.465 MB / 1.076 GB Notification: Performance of Templates: time 0.0457/1.096, allocations: 31.82 MB / 1.276 GB, free: 15.58 MB / 1.092 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside_CpData_Angles.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.849871184676886]