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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001508/0.001508, allocations: 112.7 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001603/0.001603, allocations: 191.5 kB / 22.23 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.319/1.319, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 2.917/2.917, allocations: 0.4893 GB / 0.7884 GB, free: 33.11 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001838/0.001838, allocations: 66.27 kB / 1.145 GB, free: 30.63 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.305/0.3068, allocations: 174.9 MB / 1.316 GB, free: 9.695 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1865/0.4934, allocations: 169.2 MB / 1.481 GB, free: 15.82 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.0234/0.5168, allocations: 17.67 MB / 1.499 GB, free: 14.1 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001898/0.5187, allocations: 43.62 kB / 1.499 GB, free: 14.05 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.002004/0.5207, allocations: 0.5973 MB / 1.499 GB, free: 13.45 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.00587/0.5265, allocations: 1.844 MB / 1.501 GB, free: 11.61 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.00403/0.5306, allocations: 1.479 MB / 1.502 GB, free: 10.14 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.00445/0.535, allocations: 2.902 MB / 1.505 GB, free: 7.227 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002652/0.5377, allocations: 1.598 MB / 1.507 GB, free: 5.566 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004651/0.5423, allocations: 1.505 MB / 1.508 GB, free: 4.102 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001834/0.5442, allocations: 1.144 MB / 1.509 GB, free: 2.953 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0003488/0.5445, allocations: 224 kB / 1.51 GB, free: 2.734 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00334/0.5478, allocations: 1.638 MB / 1.511 GB, free: 1.094 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0007156/0.5486, allocations: 0.7984 MB / 1.512 GB, free: 300 kB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.001333/0.5499, allocations: 1.232 MB / 1.513 GB, free: 15.05 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.005216/0.5551, allocations: 3.631 MB / 1.517 GB, free: 11.41 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 4.86e-06/0.5551, allocations: 0 / 1.517 GB, free: 11.41 MB / 1.217 GB Notification: Performance of FrontEnd: time 2.014e-06/0.5551, allocations: 0 / 1.517 GB, free: 11.41 MB / 1.217 GB Notification: Performance of Transformations before backend: time 4.42e-05/0.5552, allocations: 0 / 1.517 GB, free: 11.41 MB / 1.217 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.005175/0.5603, allocations: 2.797 MB / 1.519 GB, free: 8.566 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/0.5604, allocations: 12.03 kB / 1.519 GB, free: 8.555 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003541/0.5639, allocations: 0.5682 MB / 1.52 GB, free: 7.984 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002732/0.5667, allocations: 1.564 MB / 1.522 GB, free: 6.387 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001101/0.5668, allocations: 135.3 kB / 1.522 GB, free: 6.254 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002248/0.567, allocations: 172 kB / 1.522 GB, free: 6.086 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003431/0.5704, allocations: 1.964 MB / 1.524 GB, free: 4.07 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.866e-05/0.5705, allocations: 0 / 1.524 GB, free: 4.07 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000153/0.5706, allocations: 79.98 kB / 1.524 GB, free: 3.992 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.579e-05/0.5706, allocations: 40 kB / 1.524 GB, free: 3.953 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003489/0.5741, allocations: 2.12 MB / 1.526 GB, free: 1.828 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009832/0.584, allocations: 6.317 MB / 1.532 GB, free: 11.11 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003245/0.5872, allocations: 1.752 MB / 1.534 GB, free: 9.363 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001282/0.5885, allocations: 0.7139 MB / 1.535 GB, free: 8.645 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004618/0.589, allocations: 125.1 kB / 1.535 GB, free: 8.523 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0018/0.5908, allocations: 1.021 MB / 1.536 GB, free: 7.48 MB / 1.232 GB Notification: Performance of pre-optimization done (n=146): time 2.876e-06/0.5908, allocations: 0 / 1.536 GB, free: 7.48 MB / 1.232 GB Notification: Performance of matching and sorting (n=146): time 0.006754/0.5975, allocations: 2.617 MB / 1.538 GB, free: 4.844 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001254/0.5976, allocations: 201.2 kB / 1.538 GB, free: 4.605 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002504/0.6001, allocations: 1.822 MB / 1.54 GB, free: 2.773 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0001762/0.6003, allocations: 61.7 kB / 1.54 GB, free: 2.707 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007888/0.6011, allocations: 0.8561 MB / 1.541 GB, free: 1.84 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.000439/0.6015, allocations: 0.5073 MB / 1.542 GB, free: 1.328 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003987/0.6019, allocations: 258.8 kB / 1.542 GB, free: 1.066 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001634/0.6021, allocations: 357.9 kB / 1.542 GB, free: 0.7109 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001138/0.6032, allocations: 0.6077 MB / 1.543 GB, free: 108 kB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001378/0.6046, allocations: 0.8131 MB / 1.544 GB, free: 15.24 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002394/0.607, allocations: 1.36 MB / 1.545 GB, free: 13.87 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.607, allocations: 0 / 1.545 GB, free: 13.87 MB / 1.248 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.00402/0.611, allocations: 1.855 MB / 1.547 GB, free: 11.99 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.332e-05/0.6111, allocations: 7.938 kB / 1.547 GB, free: 11.98 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.6111, allocations: 0 / 1.547 GB, free: 11.98 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001047/0.6121, allocations: 208.2 kB / 1.547 GB, free: 11.76 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001574/0.6137, allocations: 343.5 kB / 1.547 GB, free: 11.43 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006315/0.62, allocations: 6.806 MB / 1.554 GB, free: 4.043 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001707/0.6217, allocations: 172.5 kB / 1.554 GB, free: 3.875 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001323/0.6218, allocations: 55.95 kB / 1.554 GB, free: 3.82 MB / 1.248 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.001047/0.6229, allocations: 497.2 kB / 1.555 GB, free: 3.324 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005339/0.6234, allocations: 194.8 kB / 1.555 GB, free: 3.133 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004703/0.6281, allocations: 2.141 MB / 1.557 GB, free: 0.9609 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.781e-05/0.6281, allocations: 16 kB / 1.557 GB, free: 0.9453 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.178e-05/0.6282, allocations: 4 kB / 1.557 GB, free: 0.9414 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.474e-05/0.6282, allocations: 11.97 kB / 1.557 GB, free: 0.9297 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007586/0.6358, allocations: 3.974 MB / 1.561 GB, free: 12.89 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.757e-06/0.6358, allocations: 7.875 kB / 1.561 GB, free: 12.89 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001457/0.6372, allocations: 327.5 kB / 1.561 GB, free: 12.57 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008699/0.6381, allocations: 192.1 kB / 1.561 GB, free: 12.36 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001159/0.6382, allocations: 43.95 kB / 1.561 GB, free: 12.32 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006095/0.6443, allocations: 6.842 MB / 1.568 GB, free: 4.891 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.6443, allocations: 4 kB / 1.568 GB, free: 4.887 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004509/0.6488, allocations: 2.021 MB / 1.57 GB, free: 2.828 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001118/0.6499, allocations: 410.1 kB / 1.57 GB, free: 2.426 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000399/0.6503, allocations: 28 kB / 1.57 GB, free: 2.398 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001436/0.6518, allocations: 107.9 kB / 1.57 GB, free: 2.293 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002677/0.652, allocations: 117.1 kB / 1.571 GB, free: 2.176 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000193/0.6522, allocations: 75.94 kB / 1.571 GB, free: 2.102 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.001987/0.6542, allocations: 1.31 MB / 1.572 GB, free: 0.7969 MB / 1.264 GB Notification: Performance of sort global known variables: time 9e-08/0.6542, allocations: 0 / 1.572 GB, free: 0.7969 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001987/0.6562, allocations: 0.6899 MB / 1.573 GB, free: 108 kB / 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.002486/0.6587, allocations: 0.7588 MB / 1.573 GB, free: 15.53 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.003692/0.6624, allocations: 2.055 MB / 1.575 GB, free: 13.41 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.6624, allocations: 0.6562 kB / 1.575 GB, free: 13.41 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.002176/0.6646, allocations: 1.372 MB / 1.577 GB, free: 11.97 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002599/0.6672, allocations: 0.5434 MB / 1.577 GB, free: 11.45 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007454/0.6746, allocations: 3.927 MB / 1.581 GB, free: 7.492 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001545/0.6762, allocations: 1.541 MB / 1.583 GB, free: 5.914 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.001923/0.6781, allocations: 0.4931 MB / 1.583 GB, free: 5.414 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005988/0.6787, allocations: 179.3 kB / 1.583 GB, free: 5.238 MB / 1.279 GB Notification: Performance of SimCode: time 8.32e-07/0.6787, allocations: 0 / 1.583 GB, free: 5.238 MB / 1.279 GB Notification: Performance of Templates: time 0.6465/1.325, allocations: 33.49 MB / 1.616 GB, free: 279.3 MB / 1.295 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.176912595517933]