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.001861/0.001861, allocations: 102.6 kB / 16.45 MB, free: 6.449 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.002325/0.002325, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.483/1.483, allocations: 230.6 MB / 252.8 MB, free: 9.145 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.205/3.205, allocations: 0.4899 GB / 0.7915 GB, free: 33.46 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.002161/0.002161, allocations: 68.17 kB / 1.149 GB, free: 26.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3859/0.3881, allocations: 176.1 MB / 1.321 GB, free: 2.859 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.2187/0.6068, allocations: 172 MB / 1.489 GB, free: 6.227 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.02721/0.634, allocations: 17.53 MB / 1.506 GB, free: 4.641 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002201/0.6362, allocations: 43.62 kB / 1.506 GB, free: 4.598 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.002052/0.6383, allocations: 0.5972 MB / 1.507 GB, free: 3.996 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.006117/0.6444, allocations: 1.838 MB / 1.509 GB, free: 2.156 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.00424/0.6486, allocations: 1.464 MB / 1.51 GB, free: 0.7031 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.004849/0.6535, allocations: 2.902 MB / 1.513 GB, free: 13.79 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003324/0.6568, allocations: 1.613 MB / 1.515 GB, free: 12.11 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005325/0.6621, allocations: 1.512 MB / 1.516 GB, free: 10.64 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002233/0.6644, allocations: 1.167 MB / 1.517 GB, free: 9.473 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0007751/0.6651, allocations: 224 kB / 1.517 GB, free: 9.254 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004224/0.6694, allocations: 1.63 MB / 1.519 GB, free: 7.621 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.001589/0.671, allocations: 0.81 MB / 1.52 GB, free: 6.809 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.003221/0.6742, allocations: 1.232 MB / 1.521 GB, free: 5.57 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.008266/0.6824, allocations: 3.673 MB / 1.525 GB, free: 1.883 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.6825, allocations: 4 kB / 1.525 GB, free: 1.879 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.282e-06/0.6825, allocations: 0 / 1.525 GB, free: 1.879 MB / 1.217 GB Notification: Performance of Transformations before backend: time 0.000126/0.6826, allocations: 7.938 kB / 1.525 GB, free: 1.871 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.008034/0.6906, allocations: 2.892 MB / 1.527 GB, free: 14.91 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.6907, allocations: 11.98 kB / 1.527 GB, free: 14.9 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005097/0.6958, allocations: 0.6267 MB / 1.528 GB, free: 14.27 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003568/0.6993, allocations: 1.672 MB / 1.53 GB, free: 12.55 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001531/0.6995, allocations: 127.4 kB / 1.53 GB, free: 12.43 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004718/0.6999, allocations: 168 kB / 1.53 GB, free: 12.26 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004603/0.7046, allocations: 1.96 MB / 1.532 GB, free: 10.25 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.509e-05/0.7046, allocations: 0 / 1.532 GB, free: 10.25 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002427/0.7048, allocations: 79.98 kB / 1.532 GB, free: 10.17 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.547e-05/0.7049, allocations: 43.98 kB / 1.532 GB, free: 10.13 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004757/0.7096, allocations: 2.117 MB / 1.534 GB, free: 8.008 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01283/0.7225, allocations: 6.416 MB / 1.54 GB, free: 1.199 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004064/0.7265, allocations: 2.05 MB / 1.542 GB, free: 15.07 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001409/0.7279, allocations: 0.7177 MB / 1.543 GB, free: 14.36 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00072/0.7287, allocations: 433.5 kB / 1.543 GB, free: 13.86 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002362/0.731, allocations: 1.013 MB / 1.544 GB, free: 12.83 MB / 1.248 GB Notification: Performance of pre-optimization done (n=146): time 2.896e-06/0.731, allocations: 0 / 1.544 GB, free: 12.83 MB / 1.248 GB Notification: Performance of matching and sorting (n=146): time 0.008176/0.7392, allocations: 2.99 MB / 1.547 GB, free: 9.727 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002986/0.7395, allocations: 205.2 kB / 1.548 GB, free: 9.48 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003068/0.7426, allocations: 1.85 MB / 1.549 GB, free: 7.621 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0002484/0.7428, allocations: 57.7 kB / 1.549 GB, free: 7.559 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.001164/0.744, allocations: 0.8718 MB / 1.55 GB, free: 6.676 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007245/0.7447, allocations: 0.4996 MB / 1.551 GB, free: 6.172 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000487/0.7452, allocations: 250.8 kB / 1.551 GB, free: 5.922 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0002476/0.7454, allocations: 365.9 kB / 1.551 GB, free: 5.559 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001358/0.7468, allocations: 0.5999 MB / 1.552 GB, free: 4.957 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001594/0.7484, allocations: 0.8169 MB / 1.553 GB, free: 4.09 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003188/0.7516, allocations: 1.357 MB / 1.554 GB, free: 2.723 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.7516, allocations: 0 / 1.554 GB, free: 2.723 MB / 1.248 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004949/0.7565, allocations: 1.839 MB / 1.556 GB, free: 0.8594 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.711e-05/0.7566, allocations: 11.94 kB / 1.556 GB, free: 0.8477 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.341e-05/0.7566, allocations: 3.984 kB / 1.556 GB, free: 0.8438 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001272/0.7578, allocations: 208.2 kB / 1.556 GB, free: 0.625 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001728/0.7596, allocations: 339.5 kB / 1.556 GB, free: 300 kB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008293/0.7679, allocations: 7.326 MB / 1.563 GB, free: 8.266 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001992/0.7699, allocations: 173 kB / 1.564 GB, free: 8.098 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001858/0.77, allocations: 55.95 kB / 1.564 GB, free: 8.043 MB / 1.264 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.001212/0.7713, allocations: 491.2 kB / 1.564 GB, free: 7.555 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006071/0.7719, allocations: 198.9 kB / 1.564 GB, free: 7.359 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005594/0.7775, allocations: 2.149 MB / 1.566 GB, free: 5.18 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.676e-05/0.7775, allocations: 16 kB / 1.566 GB, free: 5.164 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.267e-06/0.7775, allocations: 7.938 kB / 1.566 GB, free: 5.156 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.695e-05/0.7775, allocations: 7.969 kB / 1.567 GB, free: 5.148 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00834/0.7858, allocations: 4.018 MB / 1.57 GB, free: 1.051 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.147e-06/0.7858, allocations: 7.938 kB / 1.57 GB, free: 1.043 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001596/0.7874, allocations: 323.5 kB / 1.571 GB, free: 0.7266 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009605/0.7884, allocations: 200.1 kB / 1.571 GB, free: 0.5156 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001197/0.7885, allocations: 39.97 kB / 1.571 GB, free: 488 kB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007478/0.796, allocations: 7.352 MB / 1.578 GB, free: 8.418 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.052e-06/0.796, allocations: 7.922 kB / 1.578 GB, free: 8.41 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005183/0.8012, allocations: 2.029 MB / 1.58 GB, free: 6.344 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001213/0.8024, allocations: 487.2 kB / 1.581 GB, free: 5.848 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000303/0.8027, allocations: 28 kB / 1.581 GB, free: 5.82 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001413/0.8041, allocations: 107.9 kB / 1.581 GB, free: 5.715 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003073/0.8044, allocations: 113.2 kB / 1.581 GB, free: 5.605 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001754/0.8046, allocations: 71.94 kB / 1.581 GB, free: 5.535 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.002109/0.8067, allocations: 1.322 MB / 1.582 GB, free: 4.219 MB / 1.279 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8067, allocations: 0 / 1.582 GB, free: 4.219 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.002225/0.8089, allocations: 0.6937 MB / 1.583 GB, free: 3.523 MB / 1.279 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.002548/0.8115, allocations: 0.7517 MB / 1.584 GB, free: 2.945 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.004371/0.8159, allocations: 2.043 MB / 1.586 GB, free: 0.8359 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 7.835e-06/0.8159, allocations: 0.5625 kB / 1.586 GB, free: 0.8359 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.002697/0.8186, allocations: 1.375 MB / 1.587 GB, free: 15.39 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002765/0.8213, allocations: 0.5555 MB / 1.587 GB, free: 14.87 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008033/0.8294, allocations: 3.933 MB / 1.591 GB, free: 10.89 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001682/0.831, allocations: 1.545 MB / 1.593 GB, free: 9.316 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.002198/0.8332, allocations: 0.5049 MB / 1.593 GB, free: 8.805 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005516/0.8338, allocations: 175.3 kB / 1.594 GB, free: 8.633 MB / 1.295 GB Notification: Performance of SimCode: time 1.532e-06/0.8338, allocations: 0 / 1.594 GB, free: 8.633 MB / 1.295 GB Notification: Performance of Templates: time 0.7433/1.577, allocations: 32.99 MB / 1.626 GB, free: 268.9 MB / 1.295 GB " [Timeout remaining time 298] 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 -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/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: 11.305785581003875]