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.00102/0.00102, allocations: 76.55 kB / 19.93 MB, free: 4.637 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.001511/0.001511, allocations: 177.9 kB / 23.21 MB, free: 1.355 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.8809/0.8809, allocations: 177.2 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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 1.711/1.711, allocations: 389 MB / 0.6338 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] 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.983e-06/1.983e-06, allocations: 0 / 1.001 GB, free: 11.89 MB / 0.9167 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.604e-05/2.802e-05, allocations: 5.797 kB / 1.001 GB, free: 11.89 MB / 0.9167 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.6814/0.6815, allocations: 148.3 MB / 1.146 GB, free: 7.895 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.01616/0.6976, allocations: 16.13 MB / 1.161 GB, free: 11.35 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001693/0.6993, allocations: 42.19 kB / 1.162 GB, free: 11.33 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.001399/0.7007, allocations: 0.5685 MB / 1.162 GB, free: 10.84 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.003885/0.7046, allocations: 1.882 MB / 1.164 GB, free: 9.43 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.002448/0.707, allocations: 1.492 MB / 1.165 GB, free: 8.305 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.002086/0.7091, allocations: 2.983 MB / 1.168 GB, free: 6.477 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001297/0.7104, allocations: 1.511 MB / 1.17 GB, free: 5.016 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002622/0.713, allocations: 2.021 MB / 1.172 GB, free: 3.051 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008401/0.7139, allocations: 0.9347 MB / 1.173 GB, free: 2.113 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0001853/0.7141, allocations: 231.9 kB / 1.173 GB, free: 1.887 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002199/0.7163, allocations: 1.477 MB / 1.174 GB, free: 416 kB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0004516/0.7167, allocations: 0.8531 MB / 1.175 GB, free: 15.55 MB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 0.0005578/0.7173, allocations: 0.8495 MB / 1.176 GB, free: 14.7 MB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 0.003154/0.7204, allocations: 3.851 MB / 1.18 GB, free: 10.83 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.7204, allocations: 3.938 kB / 1.18 GB, free: 10.83 MB / 1.026 GB Notification: Performance of FrontEnd: time 1.573e-06/0.7204, allocations: 4 kB / 1.18 GB, free: 10.82 MB / 1.026 GB Notification: Performance of Transformations before backend: time 2.059e-05/0.7205, allocations: 0 / 1.18 GB, free: 10.82 MB / 1.026 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.002708/0.7232, allocations: 2.808 MB / 1.182 GB, free: 7.969 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.7232, allocations: 8.75 kB / 1.182 GB, free: 7.961 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002011/0.7252, allocations: 0.6267 MB / 1.183 GB, free: 7.332 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001523/0.7267, allocations: 1.58 MB / 1.185 GB, free: 5.715 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.058e-05/0.7268, allocations: 135.4 kB / 1.185 GB, free: 5.582 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001488/0.727, allocations: 176 kB / 1.185 GB, free: 5.41 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002324/0.7293, allocations: 2.725 MB / 1.188 GB, free: 2.449 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.39e-05/0.7293, allocations: 3.938 kB / 1.188 GB, free: 2.445 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001084/0.7294, allocations: 87.92 kB / 1.188 GB, free: 2.359 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.007e-05/0.7294, allocations: 40 kB / 1.188 GB, free: 2.32 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002134/0.7316, allocations: 2.07 MB / 1.19 GB, free: 252 kB / 1.026 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004902/0.7365, allocations: 4.428 MB / 1.194 GB, free: 11.75 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002009/0.7385, allocations: 1.773 MB / 1.196 GB, free: 9.98 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007731/0.7393, allocations: 0.7346 MB / 1.197 GB, free: 9.246 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002397/0.7395, allocations: 117.2 kB / 1.197 GB, free: 9.133 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00124/0.7407, allocations: 1.647 MB / 1.198 GB, free: 7.32 MB / 1.042 GB Notification: Performance of pre-optimization done (n=154): time 2.234e-06/0.7407, allocations: 4 kB / 1.198 GB, free: 7.316 MB / 1.042 GB Notification: Performance of matching and sorting (n=154): time 0.00382/0.7446, allocations: 2.66 MB / 1.201 GB, free: 4.633 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.405e-05/0.7446, allocations: 201.2 kB / 1.201 GB, free: 4.395 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001425/0.7461, allocations: 1.746 MB / 1.203 GB, free: 2.633 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 9.427e-05/0.7462, allocations: 65.7 kB / 1.203 GB, free: 2.562 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004796/0.7466, allocations: 0.8634 MB / 1.204 GB, free: 1.688 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002818/0.7469, allocations: 0.519 MB / 1.204 GB, free: 1.164 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002773/0.7472, allocations: 267.5 kB / 1.204 GB, free: 0.8945 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001035/0.7473, allocations: 361.9 kB / 1.205 GB, free: 0.5352 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007394/0.748, allocations: 0.6286 MB / 1.205 GB, free: 15.91 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001078/0.7491, allocations: 1.282 MB / 1.207 GB, free: 14.47 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001538/0.7507, allocations: 1.407 MB / 1.208 GB, free: 13.05 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/0.7507, allocations: 4 kB / 1.208 GB, free: 13.05 MB / 1.057 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.002296/0.753, allocations: 1.929 MB / 1.21 GB, free: 11.1 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.753, allocations: 4 kB / 1.21 GB, free: 11.09 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.577e-06/0.753, allocations: 0 / 1.21 GB, free: 11.09 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005195/0.7535, allocations: 212.1 kB / 1.21 GB, free: 10.87 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007666/0.7543, allocations: 355.4 kB / 1.21 GB, free: 10.52 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00344/0.7577, allocations: 6.68 MB / 1.217 GB, free: 3.324 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007202/0.7584, allocations: 167.1 kB / 1.217 GB, free: 3.164 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.848e-05/0.7585, allocations: 59.95 kB / 1.217 GB, free: 3.105 MB / 1.057 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.0007302/0.7592, allocations: 0.4924 MB / 1.218 GB, free: 2.602 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001923/0.7594, allocations: 182.8 kB / 1.218 GB, free: 2.422 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002514/0.762, allocations: 2.168 MB / 1.22 GB, free: 232 kB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.794e-06/0.762, allocations: 23.94 kB / 1.22 GB, free: 208 kB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.762, allocations: 0 / 1.22 GB, free: 208 kB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.768e-06/0.762, allocations: 11.97 kB / 1.22 GB, free: 196 kB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0041/0.7661, allocations: 3.756 MB / 1.224 GB, free: 12.36 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.7661, allocations: 0 / 1.224 GB, free: 12.36 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006881/0.7668, allocations: 323.6 kB / 1.224 GB, free: 12.05 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003987/0.7672, allocations: 200.1 kB / 1.224 GB, free: 11.84 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.114e-05/0.7672, allocations: 43.95 kB / 1.224 GB, free: 11.79 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003127/0.7704, allocations: 6.709 MB / 1.231 GB, free: 4.566 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.7704, allocations: 0 / 1.231 GB, free: 4.566 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002383/0.7727, allocations: 2.066 MB / 1.233 GB, free: 2.469 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005385/0.7733, allocations: 398.2 kB / 1.233 GB, free: 2.078 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001228/0.7734, allocations: 39.94 kB / 1.233 GB, free: 2.039 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005939/0.774, allocations: 105.8 kB / 1.233 GB, free: 1.938 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001856/0.7742, allocations: 129.7 kB / 1.233 GB, free: 1.809 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.251e-05/0.7743, allocations: 71.94 kB / 1.233 GB, free: 1.738 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.001152/0.7754, allocations: 1.24 MB / 1.235 GB, free: 0.5 MB / 1.073 GB Notification: Performance of sort global known variables: time 2.51e-07/0.7754, allocations: 0 / 1.235 GB, free: 0.5 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.001353/0.7768, allocations: 0.7093 MB / 1.235 GB, free: 15.79 MB / 1.089 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.001276/0.7781, allocations: 0.8024 MB / 1.236 GB, free: 15.18 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.00222/0.7803, allocations: 2.112 MB / 1.238 GB, free: 13.01 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.7803, allocations: 0.8906 kB / 1.238 GB, free: 13.01 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 0.001154/0.7814, allocations: 1.379 MB / 1.24 GB, free: 11.57 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001198/0.7826, allocations: 0.5016 MB / 1.24 GB, free: 11.09 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004457/0.7871, allocations: 3.88 MB / 1.244 GB, free: 7.164 MB / 1.089 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006333/0.7877, allocations: 0.9281 MB / 1.245 GB, free: 6.199 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004097/0.7881, allocations: 192.4 kB / 1.245 GB, free: 6.012 MB / 1.089 GB Notification: Performance of SimCode: time 1.002e-06/0.7881, allocations: 0 / 1.245 GB, free: 6.012 MB / 1.089 GB Notification: Performance of Templates: time 0.04822/0.8364, allocations: 68.89 MB / 1.312 GB, free: 1.156 MB / 1.151 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.872574721463025]