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.002533/0.002533, allocations: 87.69 kB / 20.24 MB, free: 4.184 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.002919/0.002919, allocations: 157.3 kB / 23.55 MB, free: 0.8711 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.596/1.596, allocations: 177.1 MB / 203.9 MB, free: 5.633 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.118/3.118, allocations: 377.8 MB / 0.6232 GB, free: 8.566 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.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.453e-06/1.453e-06, allocations: 0 / 0.8108 GB, free: 2.152 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.456e-05/3.601e-05, allocations: 4.984 kB / 0.8108 GB, free: 2.148 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.2347/0.2348, allocations: 164.2 MB / 0.9712 GB, free: 13.38 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.02938/0.2641, allocations: 17.81 MB / 0.9886 GB, free: 11.52 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001792/0.2659, allocations: 43.62 kB / 0.9886 GB, free: 11.47 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.001981/0.2679, allocations: 0.5659 MB / 0.9892 GB, free: 10.9 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.006063/0.274, allocations: 1.892 MB / 0.991 GB, free: 9 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.003977/0.2779, allocations: 1.476 MB / 0.9925 GB, free: 7.52 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.004886/0.2828, allocations: 2.999 MB / 0.9954 GB, free: 4.512 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00322/0.2861, allocations: 1.657 MB / 0.997 GB, free: 2.801 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006264/0.2923, allocations: 2.126 MB / 0.9991 GB, free: 0.8086 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001996/0.2943, allocations: 0.9348 MB / 1 GB, free: 15.87 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.000464/0.2948, allocations: 232 kB / 1 GB, free: 15.64 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003564/0.2983, allocations: 1.473 MB / 1.002 GB, free: 14.17 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0009943/0.2993, allocations: 0.849 MB / 1.002 GB, free: 13.32 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.001362/0.3007, allocations: 0.8495 MB / 1.003 GB, free: 12.46 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.006603/0.3073, allocations: 3.863 MB / 1.007 GB, free: 8.59 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3073, allocations: 0 / 1.007 GB, free: 8.59 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3073, allocations: 0 / 1.007 GB, free: 8.59 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 7.648e-05/0.3074, allocations: 0 / 1.007 GB, free: 8.59 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.006326/0.3137, allocations: 3.095 MB / 1.01 GB, free: 5.434 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.3138, allocations: 8.031 kB / 1.01 GB, free: 5.426 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004614/0.3184, allocations: 0.8751 MB / 1.011 GB, free: 4.547 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002853/0.3212, allocations: 1.399 MB / 1.012 GB, free: 3.109 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001361/0.3214, allocations: 131.4 kB / 1.012 GB, free: 2.98 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003015/0.3217, allocations: 188 kB / 1.013 GB, free: 2.797 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004261/0.3259, allocations: 2.57 MB / 1.015 GB, free: 15.98 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.748e-05/0.326, allocations: 0 / 1.015 GB, free: 15.98 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001827/0.3261, allocations: 87.91 kB / 1.015 GB, free: 15.89 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-05/0.3262, allocations: 40 kB / 1.015 GB, free: 15.85 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00332/0.3295, allocations: 1.636 MB / 1.017 GB, free: 14.21 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01079/0.3403, allocations: 5.397 MB / 1.022 GB, free: 8.688 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002885/0.3432, allocations: 1.301 MB / 1.023 GB, free: 7.383 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001155/0.3443, allocations: 0.5423 MB / 1.024 GB, free: 6.844 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005727/0.3449, allocations: 129.2 kB / 1.024 GB, free: 6.715 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002543/0.3474, allocations: 1.49 MB / 1.026 GB, free: 5.055 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=154): time 4.378e-06/0.3474, allocations: 0 / 1.026 GB, free: 5.055 MB / 0.9792 GB Notification: Performance of matching and sorting (n=154): time 0.007603/0.3551, allocations: 2.135 MB / 1.028 GB, free: 2.895 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001817/0.3552, allocations: 213.2 kB / 1.028 GB, free: 2.641 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002676/0.3579, allocations: 1.618 MB / 1.029 GB, free: 0.9922 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0002734/0.3582, allocations: 73.69 kB / 1.029 GB, free: 0.9141 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.001196/0.3594, allocations: 0.9967 MB / 1.03 GB, free: 15.9 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006459/0.36, allocations: 0.558 MB / 1.031 GB, free: 15.34 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005802/0.3606, allocations: 329.2 kB / 1.031 GB, free: 15 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0003631/0.361, allocations: 0.5629 MB / 1.032 GB, free: 14.43 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001035/0.362, allocations: 427.8 kB / 1.032 GB, free: 14.02 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001718/0.3637, allocations: 1.15 MB / 1.033 GB, free: 12.69 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002614/0.3663, allocations: 1.031 MB / 1.034 GB, free: 11.65 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.3663, allocations: 0 / 1.034 GB, free: 11.65 MB / 0.9948 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.004312/0.3707, allocations: 1.588 MB / 1.036 GB, free: 10.04 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/0.3707, allocations: 8.062 kB / 1.036 GB, free: 10.03 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/0.3707, allocations: 4 kB / 1.036 GB, free: 10.02 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001724/0.3724, allocations: 298.1 kB / 1.036 GB, free: 9.711 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001723/0.3741, allocations: 351.5 kB / 1.037 GB, free: 9.367 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4822/0.8564, allocations: 9.334 MB / 1.046 GB, free: 270.2 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001735/0.8581, allocations: 136 kB / 1.046 GB, free: 270.2 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001484/0.8583, allocations: 61.17 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.0008424/0.8591, allocations: 368 kB / 1.046 GB, free: 270 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004568/0.8596, allocations: 245.1 kB / 1.046 GB, free: 270 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00377/0.8633, allocations: 1.779 MB / 1.048 GB, free: 269.8 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.309e-05/0.8633, allocations: 17.53 kB / 1.048 GB, free: 269.8 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.8633, allocations: 5.875 kB / 1.048 GB, free: 269.8 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.673e-05/0.8634, allocations: 9.703 kB / 1.048 GB, free: 269.8 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006433/0.8698, allocations: 3.647 MB / 1.052 GB, free: 269.2 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.642e-06/0.8698, allocations: 0.5 kB / 1.052 GB, free: 269.2 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001365/0.8712, allocations: 314.2 kB / 1.052 GB, free: 269.2 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00131/0.8725, allocations: 290.3 kB / 1.052 GB, free: 269.1 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001038/0.8726, allocations: 44 kB / 1.052 GB, free: 269.1 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004789/0.8774, allocations: 9.346 MB / 1.062 GB, free: 260 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.8774, allocations: 6.016 kB / 1.062 GB, free: 260 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003857/0.8812, allocations: 1.815 MB / 1.063 GB, free: 259.2 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001173/0.8824, allocations: 399.5 kB / 1.064 GB, free: 259 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002617/0.8827, allocations: 32.75 kB / 1.064 GB, free: 259 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001115/0.8838, allocations: 85.25 kB / 1.064 GB, free: 259 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000298/0.8841, allocations: 126.7 kB / 1.064 GB, free: 259 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001508/0.8842, allocations: 74.98 kB / 1.064 GB, free: 259 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.001295/0.8855, allocations: 0.977 MB / 1.065 GB, free: 258.6 MB / 0.9948 GB Notification: Performance of sort global known variables: time 8e-08/0.8855, allocations: 5 kB / 1.065 GB, free: 258.6 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.002071/0.8876, allocations: 0.7247 MB / 1.066 GB, free: 258.5 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.003837/0.8914, allocations: 0.8049 MB / 1.066 GB, free: 258.3 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.003286/0.8947, allocations: 2.095 MB / 1.068 GB, free: 257.1 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 8.215e-06/0.8947, allocations: 3.156 kB / 1.069 GB, free: 257.1 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001812/0.8965, allocations: 1.562 MB / 1.07 GB, free: 256 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00284/0.8994, allocations: 0.5978 MB / 1.071 GB, free: 255.8 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006077/0.9054, allocations: 3.603 MB / 1.074 GB, free: 254 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009113/0.9064, allocations: 0.9462 MB / 1.075 GB, free: 253.8 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.001812/0.9082, allocations: 461.6 kB / 1.075 GB, free: 253.8 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004936/0.9087, allocations: 183.4 kB / 1.076 GB, free: 253.7 MB / 0.9948 GB Notification: Performance of SimCode: time 2.475e-06/0.9087, allocations: 0 / 1.076 GB, free: 253.7 MB / 0.9948 GB Notification: Performance of Templates: time 0.05728/0.9659, allocations: 32.89 MB / 1.108 GB, free: 245.3 MB / 0.9948 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1) [Timeout 240] 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.726815707981586]