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.001765/0.001765, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001673/0.001673, allocations: 210 kB / 22.99 MB, free: 4.957 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.481/1.481, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.363/3.363, allocations: 0.49 GB / 0.7959 GB, free: 35.44 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002121/0.002121, allocations: 66.09 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3883/0.3905, allocations: 176.1 MB / 1.327 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1914/0.5819, allocations: 148.4 MB / 1.472 GB, free: 12.05 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.02352/0.6054, allocations: 16.22 MB / 1.488 GB, free: 11.78 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001877/0.6073, allocations: 39.69 kB / 1.488 GB, free: 11.74 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001788/0.6091, allocations: 0.5661 MB / 1.488 GB, free: 11.17 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.005453/0.6145, allocations: 1.858 MB / 1.49 GB, free: 9.312 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.003781/0.6183, allocations: 1.464 MB / 1.492 GB, free: 7.859 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.003927/0.6222, allocations: 2.922 MB / 1.494 GB, free: 4.926 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002534/0.6248, allocations: 1.598 MB / 1.496 GB, free: 3.266 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004613/0.6294, allocations: 1.528 MB / 1.498 GB, free: 1.781 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001845/0.6312, allocations: 1.157 MB / 1.499 GB, free: 0.6211 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0004529/0.6317, allocations: 224 kB / 1.499 GB, free: 412 kB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003477/0.6352, allocations: 1.49 MB / 1.5 GB, free: 14.91 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0008518/0.636, allocations: 0.8139 MB / 1.501 GB, free: 14.09 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.001304/0.6373, allocations: 1.011 MB / 1.502 GB, free: 13.08 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.006363/0.6437, allocations: 3.689 MB / 1.506 GB, free: 9.375 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 7.835e-06/0.6437, allocations: 0 / 1.506 GB, free: 9.375 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.244e-06/0.6437, allocations: 0 / 1.506 GB, free: 9.375 MB / 1.201 GB Notification: Performance of Transformations before backend: time 9.831e-05/0.6438, allocations: 0 / 1.506 GB, free: 9.375 MB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 431 * Number of variables: 431 Notification: Performance of Generate backend data structure: time 0.006059/0.6498, allocations: 2.824 MB / 1.508 GB, free: 6.504 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.6499, allocations: 8.031 kB / 1.508 GB, free: 6.496 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004822/0.6547, allocations: 0.6268 MB / 1.509 GB, free: 5.867 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003414/0.6581, allocations: 1.58 MB / 1.511 GB, free: 4.254 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001251/0.6582, allocations: 131.4 kB / 1.511 GB, free: 4.125 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002711/0.6585, allocations: 168 kB / 1.511 GB, free: 3.961 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004269/0.6628, allocations: 2.717 MB / 1.514 GB, free: 1.008 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.523e-05/0.6628, allocations: 0 / 1.514 GB, free: 1.008 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000197/0.663, allocations: 80 kB / 1.514 GB, free: 0.9297 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.773e-05/0.6631, allocations: 40 kB / 1.514 GB, free: 0.8906 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00374/0.6668, allocations: 2.062 MB / 1.516 GB, free: 14.82 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009453/0.6762, allocations: 4.369 MB / 1.52 GB, free: 10.38 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003483/0.6797, allocations: 1.745 MB / 1.522 GB, free: 8.637 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001357/0.6811, allocations: 0.7178 MB / 1.522 GB, free: 7.91 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006063/0.6817, allocations: 109.2 kB / 1.522 GB, free: 7.805 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002451/0.6841, allocations: 1.627 MB / 1.524 GB, free: 6.008 MB / 1.217 GB Notification: Performance of pre-optimization done (n=146): time 4.157e-06/0.6841, allocations: 0 / 1.524 GB, free: 6.008 MB / 1.217 GB Notification: Performance of matching and sorting (n=146): time 0.007458/0.6916, allocations: 2.613 MB / 1.527 GB, free: 3.375 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001429/0.6918, allocations: 205.2 kB / 1.527 GB, free: 3.133 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00258/0.6943, allocations: 1.739 MB / 1.529 GB, free: 1.379 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0002491/0.6946, allocations: 61.7 kB / 1.529 GB, free: 1.312 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008928/0.6955, allocations: 0.8789 MB / 1.529 GB, free: 432 kB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005462/0.696, allocations: 0.4959 MB / 1.53 GB, free: 15.92 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004637/0.6965, allocations: 258.8 kB / 1.53 GB, free: 15.66 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001896/0.6967, allocations: 357.7 kB / 1.531 GB, free: 15.3 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001259/0.6979, allocations: 0.6116 MB / 1.531 GB, free: 14.7 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001782/0.6997, allocations: 1.24 MB / 1.532 GB, free: 13.3 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002673/0.7024, allocations: 1.353 MB / 1.534 GB, free: 11.94 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.7024, allocations: 0 / 1.534 GB, free: 11.94 MB / 1.232 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004598/0.707, allocations: 1.843 MB / 1.535 GB, free: 10.07 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.744e-05/0.707, allocations: 9.969 kB / 1.535 GB, free: 10.06 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.278e-06/0.707, allocations: 0 / 1.535 GB, free: 10.06 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001152/0.7082, allocations: 208.1 kB / 1.536 GB, free: 9.844 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001735/0.7099, allocations: 343.6 kB / 1.536 GB, free: 9.508 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007002/0.7169, allocations: 6.682 MB / 1.543 GB, free: 2.309 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00241/0.7193, allocations: 163.3 kB / 1.543 GB, free: 2.148 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001806/0.7195, allocations: 55.95 kB / 1.543 GB, free: 2.094 MB / 1.232 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,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 (153): * Single equations (assignments): 148 * 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.001445/0.721, allocations: 491.2 kB / 1.543 GB, free: 1.605 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006224/0.7216, allocations: 186.8 kB / 1.543 GB, free: 1.422 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005285/0.7269, allocations: 2.128 MB / 1.545 GB, free: 15.26 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.797e-05/0.7269, allocations: 16 kB / 1.545 GB, free: 15.25 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.067e-05/0.7269, allocations: 8 kB / 1.545 GB, free: 15.24 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.089e-05/0.7269, allocations: 15.91 kB / 1.545 GB, free: 15.22 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007699/0.7346, allocations: 3.529 MB / 1.549 GB, free: 11.64 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-06/0.7346, allocations: 0 / 1.549 GB, free: 11.64 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001583/0.7362, allocations: 319.6 kB / 1.549 GB, free: 11.33 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009375/0.7371, allocations: 208 kB / 1.549 GB, free: 11.11 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000129/0.7373, allocations: 39.97 kB / 1.549 GB, free: 11.07 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006364/0.7436, allocations: 6.716 MB / 1.556 GB, free: 3.828 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.7436, allocations: 0 / 1.556 GB, free: 3.828 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004825/0.7485, allocations: 2.013 MB / 1.558 GB, free: 1.777 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00118/0.7496, allocations: 398.2 kB / 1.558 GB, free: 1.387 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002622/0.7499, allocations: 32 kB / 1.558 GB, free: 1.355 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001412/0.7513, allocations: 105.2 kB / 1.559 GB, free: 1.254 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002869/0.7516, allocations: 125 kB / 1.559 GB, free: 1.129 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001631/0.7518, allocations: 71.95 kB / 1.559 GB, free: 1.059 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.00187/0.7536, allocations: 1.248 MB / 1.56 GB, free: 15.81 MB / 1.264 GB Notification: Performance of sort global known variables: time 1e-07/0.7536, allocations: 0 / 1.56 GB, free: 15.81 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.002043/0.7557, allocations: 0.7131 MB / 1.561 GB, free: 15.1 MB / 1.264 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (149): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.002567/0.7582, allocations: 0.7744 MB / 1.561 GB, free: 14.53 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.004053/0.7623, allocations: 2.051 MB / 1.563 GB, free: 12.42 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.7623, allocations: 0.6562 kB / 1.563 GB, free: 12.42 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.002392/0.7647, allocations: 1.372 MB / 1.565 GB, free: 10.98 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002588/0.7673, allocations: 0.5169 MB / 1.565 GB, free: 10.48 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007869/0.7751, allocations: 3.934 MB / 1.569 GB, free: 6.52 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001213/0.7764, allocations: 0.9728 MB / 1.57 GB, free: 5.508 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.002046/0.7784, allocations: 496.2 kB / 1.57 GB, free: 5.016 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005521/0.779, allocations: 179.3 kB / 1.571 GB, free: 4.84 MB / 1.264 GB Notification: Performance of SimCode: time 1.433e-06/0.779, allocations: 3.938 kB / 1.571 GB, free: 4.836 MB / 1.264 GB Notification: Performance of Templates: time 0.06525/0.8442, allocations: 35.11 MB / 1.605 GB, free: 2.23 MB / 1.295 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 -s cvode -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/jenkins1/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: 11.5818925450003]