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.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.00148/0.00148, allocations: 113.9 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.001617/0.001617, allocations: 191.5 kB / 22.23 MB, free: 5.098 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.305/1.305, allocations: 225.6 MB / 251 MB, free: 13.2 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 2.924/2.924, allocations: 496 MB / 0.7835 GB, free: 33.52 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-maint.12.x/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_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 0.001854/0.001854, allocations: 66.08 kB / 1.138 GB, free: 33.92 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.306/0.3079, allocations: 173.6 MB / 1.307 GB, free: 1.789 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1903/0.4981, allocations: 169.2 MB / 1.473 GB, free: 7.914 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.0217/0.5198, allocations: 17.67 MB / 1.49 GB, free: 6.195 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001212/0.521, allocations: 47.62 kB / 1.49 GB, free: 6.148 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001535/0.5226, allocations: 0.5894 MB / 1.49 GB, free: 5.555 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.004463/0.527, allocations: 1.838 MB / 1.492 GB, free: 3.715 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.003217/0.5302, allocations: 1.486 MB / 1.494 GB, free: 2.242 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.003311/0.5336, allocations: 2.906 MB / 1.496 GB, free: 15.32 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002199/0.5358, allocations: 1.59 MB / 1.498 GB, free: 13.68 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003895/0.5397, allocations: 1.51 MB / 1.5 GB, free: 12.21 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001478/0.5411, allocations: 1.151 MB / 1.501 GB, free: 11.05 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.000323/0.5415, allocations: 224 kB / 1.501 GB, free: 10.83 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002875/0.5443, allocations: 1.634 MB / 1.502 GB, free: 9.195 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0007158/0.545, allocations: 0.8023 MB / 1.503 GB, free: 8.391 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.001182/0.5462, allocations: 1.232 MB / 1.504 GB, free: 7.152 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.004428/0.5507, allocations: 3.631 MB / 1.508 GB, free: 3.508 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.5507, allocations: 0 / 1.508 GB, free: 3.508 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.593e-06/0.5507, allocations: 4 kB / 1.508 GB, free: 3.504 MB / 1.201 GB Notification: Performance of Transformations before backend: time 3.582e-05/0.5507, allocations: 0 / 1.508 GB, free: 3.504 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.004437/0.5551, allocations: 2.795 MB / 1.511 GB, free: 0.6641 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.5552, allocations: 8.922 kB / 1.511 GB, free: 0.6562 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003397/0.5586, allocations: 0.576 MB / 1.511 GB, free: 80 kB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002431/0.561, allocations: 1.568 MB / 1.513 GB, free: 14.48 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001013/0.5611, allocations: 123.4 kB / 1.513 GB, free: 14.36 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002293/0.5613, allocations: 176 kB / 1.513 GB, free: 14.18 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003208/0.5645, allocations: 1.956 MB / 1.515 GB, free: 12.18 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.843e-05/0.5646, allocations: 7.938 kB / 1.515 GB, free: 12.17 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001493/0.5647, allocations: 72 kB / 1.515 GB, free: 12.1 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.59e-05/0.5647, allocations: 44 kB / 1.515 GB, free: 12.05 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003486/0.5682, allocations: 2.12 MB / 1.517 GB, free: 9.93 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008756/0.577, allocations: 6.313 MB / 1.523 GB, free: 3.215 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003083/0.5801, allocations: 1.741 MB / 1.525 GB, free: 1.469 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00124/0.5813, allocations: 0.7178 MB / 1.526 GB, free: 0.7461 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004237/0.5817, allocations: 129.1 kB / 1.526 GB, free: 0.6211 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001732/0.5835, allocations: 1.021 MB / 1.527 GB, free: 15.57 MB / 1.232 GB Notification: Performance of pre-optimization done (n=146): time 2.725e-06/0.5835, allocations: 0 / 1.527 GB, free: 15.57 MB / 1.232 GB Notification: Performance of matching and sorting (n=146): time 0.006284/0.5898, allocations: 2.613 MB / 1.529 GB, free: 12.94 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001195/0.5899, allocations: 197.2 kB / 1.53 GB, free: 12.71 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002228/0.5921, allocations: 1.833 MB / 1.531 GB, free: 10.86 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0001195/0.5922, allocations: 57.7 kB / 1.531 GB, free: 10.8 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007146/0.5929, allocations: 0.8561 MB / 1.532 GB, free: 9.934 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004195/0.5934, allocations: 0.5034 MB / 1.533 GB, free: 9.43 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003946/0.5938, allocations: 254.8 kB / 1.533 GB, free: 9.172 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001658/0.5939, allocations: 361.9 kB / 1.533 GB, free: 8.812 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001147/0.5951, allocations: 0.6076 MB / 1.534 GB, free: 8.207 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001366/0.5964, allocations: 0.8091 MB / 1.535 GB, free: 7.344 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002413/0.5988, allocations: 1.357 MB / 1.536 GB, free: 5.977 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.5988, allocations: 0 / 1.536 GB, free: 5.977 MB / 1.232 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003781/0.6026, allocations: 1.851 MB / 1.538 GB, free: 4.102 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.6026, allocations: 11.94 kB / 1.538 GB, free: 4.09 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/0.6027, allocations: 0 / 1.538 GB, free: 4.09 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009868/0.6036, allocations: 212.1 kB / 1.538 GB, free: 3.867 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001543/0.6052, allocations: 343.5 kB / 1.538 GB, free: 3.531 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006293/0.6115, allocations: 6.811 MB / 1.545 GB, free: 12.14 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001487/0.613, allocations: 180.7 kB / 1.545 GB, free: 11.96 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001274/0.6131, allocations: 51.95 kB / 1.545 GB, free: 11.91 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.000901/0.614, allocations: 498.3 kB / 1.546 GB, free: 11.42 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003458/0.6143, allocations: 194.8 kB / 1.546 GB, free: 11.23 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004412/0.6188, allocations: 2.133 MB / 1.548 GB, free: 9.07 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.544e-05/0.6188, allocations: 16 kB / 1.548 GB, free: 9.055 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.6188, allocations: 4 kB / 1.548 GB, free: 9.051 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.375e-05/0.6188, allocations: 7.969 kB / 1.548 GB, free: 9.043 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00678/0.6256, allocations: 3.979 MB / 1.552 GB, free: 4.996 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.387e-06/0.6256, allocations: 7.922 kB / 1.552 GB, free: 4.988 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001414/0.627, allocations: 323.6 kB / 1.552 GB, free: 4.672 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008031/0.6278, allocations: 200.1 kB / 1.552 GB, free: 4.461 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.961e-05/0.6279, allocations: 39.97 kB / 1.553 GB, free: 4.422 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00619/0.6341, allocations: 6.851 MB / 1.559 GB, free: 12.99 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.6341, allocations: 3.938 kB / 1.559 GB, free: 12.98 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00411/0.6382, allocations: 2.021 MB / 1.561 GB, free: 10.93 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008816/0.6391, allocations: 414.1 kB / 1.562 GB, free: 10.52 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002063/0.6393, allocations: 31.95 kB / 1.562 GB, free: 10.49 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001182/0.6405, allocations: 102.4 kB / 1.562 GB, free: 10.39 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002496/0.6407, allocations: 125.1 kB / 1.562 GB, free: 10.27 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001429/0.6409, allocations: 71.94 kB / 1.562 GB, free: 10.2 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.001749/0.6426, allocations: 1.306 MB / 1.563 GB, free: 8.898 MB / 1.264 GB Notification: Performance of sort global known variables: time 7e-08/0.6426, allocations: 0 / 1.563 GB, free: 8.898 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001652/0.6443, allocations: 0.6899 MB / 1.564 GB, free: 8.207 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.00215/0.6464, allocations: 0.7565 MB / 1.565 GB, free: 7.633 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.003484/0.6499, allocations: 2.051 MB / 1.567 GB, free: 5.516 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.6499, allocations: 4.594 kB / 1.567 GB, free: 5.512 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.00207/0.652, allocations: 1.375 MB / 1.568 GB, free: 4.074 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002049/0.654, allocations: 0.5564 MB / 1.568 GB, free: 3.539 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006754/0.6608, allocations: 3.913 MB / 1.572 GB, free: 15.59 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001267/0.662, allocations: 1.541 MB / 1.574 GB, free: 14.02 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.001675/0.6637, allocations: 0.5008 MB / 1.574 GB, free: 13.51 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000483/0.6642, allocations: 175.3 kB / 1.574 GB, free: 13.34 MB / 1.279 GB Notification: Performance of SimCode: time 1.322e-06/0.6642, allocations: 0 / 1.574 GB, free: 13.34 MB / 1.279 GB Notification: Performance of Templates: time 0.5858/1.25, allocations: 33.49 MB / 1.607 GB, free: 289.4 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 -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: 10.11705551482737]