Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002147/0.002147, allocations: 115.7 kB / 18.89 MB, free: 2.898 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.002372/0.002372, allocations: 199.5 kB / 22.17 MB, free: 5.211 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.489/1.489, allocations: 225.6 MB / 250.9 MB, free: 13.24 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.775/2.775, allocations: 476.7 MB / 0.7645 GB, free: 10.07 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002024/0.002024, allocations: 68.12 kB / 1.109 GB, free: 6.527 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7131/0.7151, allocations: 168.7 MB / 1.274 GB, free: 4.488 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1925/0.9076, allocations: 169.2 MB / 1.439 GB, free: 10.69 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.0248/0.9324, allocations: 17.65 MB / 1.456 GB, free: 8.984 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002916/0.9354, allocations: 31.81 kB / 1.457 GB, free: 8.953 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.002218/0.9376, allocations: 0.6011 MB / 1.457 GB, free: 8.348 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.005816/0.9434, allocations: 1.82 MB / 1.459 GB, free: 6.523 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.004368/0.9478, allocations: 1.469 MB / 1.46 GB, free: 5.066 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.005563/0.9533, allocations: 2.894 MB / 1.463 GB, free: 2.16 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002654/0.956, allocations: 1.589 MB / 1.465 GB, free: 0.5117 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004862/0.9608, allocations: 1.5 MB / 1.466 GB, free: 15.06 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001717/0.9626, allocations: 1.152 MB / 1.467 GB, free: 13.9 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.000362/0.9629, allocations: 220 kB / 1.467 GB, free: 13.69 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003409/0.9663, allocations: 1.607 MB / 1.469 GB, free: 12.08 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0007765/0.9671, allocations: 0.8023 MB / 1.47 GB, free: 11.27 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.001405/0.9685, allocations: 1.224 MB / 1.471 GB, free: 10.04 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.00539/0.9739, allocations: 3.627 MB / 1.475 GB, free: 6.402 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.9739, allocations: 0 / 1.475 GB, free: 6.402 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.944e-06/0.9739, allocations: 0 / 1.475 GB, free: 6.402 MB / 1.17 GB Notification: Performance of Transformations before backend: time 5.661e-05/0.974, allocations: 0 / 1.475 GB, free: 6.402 MB / 1.17 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.005333/0.9793, allocations: 2.872 MB / 1.477 GB, free: 3.461 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.9793, allocations: 8.031 kB / 1.477 GB, free: 3.453 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00392/0.9833, allocations: 0.576 MB / 1.478 GB, free: 2.875 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003029/0.9863, allocations: 1.648 MB / 1.48 GB, free: 1.176 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001241/0.9864, allocations: 131.3 kB / 1.48 GB, free: 1.047 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002737/0.9867, allocations: 172 kB / 1.48 GB, free: 0.8789 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003843/0.9905, allocations: 1.956 MB / 1.482 GB, free: 14.87 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.743e-05/0.9906, allocations: 3.984 kB / 1.482 GB, free: 14.87 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001838/0.9908, allocations: 72 kB / 1.482 GB, free: 14.8 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.9e-05/0.9908, allocations: 44 kB / 1.482 GB, free: 14.75 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004101/0.9949, allocations: 2.12 MB / 1.484 GB, free: 12.63 MB / 1.186 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01106/1.006, allocations: 6.195 MB / 1.49 GB, free: 6.09 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003643/1.01, allocations: 2.031 MB / 1.492 GB, free: 3.992 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00139/1.011, allocations: 0.7218 MB / 1.493 GB, free: 3.258 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006432/1.012, allocations: 433.6 kB / 1.493 GB, free: 2.762 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001924/1.014, allocations: 1.017 MB / 1.494 GB, free: 1.723 MB / 1.186 GB Notification: Performance of pre-optimization done (n=146): time 3.317e-06/1.014, allocations: 0 / 1.494 GB, free: 1.723 MB / 1.186 GB Notification: Performance of matching and sorting (n=146): time 0.007413/1.021, allocations: 2.994 MB / 1.497 GB, free: 14.62 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001336/1.021, allocations: 201.2 kB / 1.497 GB, free: 14.38 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002599/1.024, allocations: 1.83 MB / 1.499 GB, free: 12.54 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0002088/1.024, allocations: 57.7 kB / 1.499 GB, free: 12.48 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008093/1.025, allocations: 0.8639 MB / 1.5 GB, free: 11.6 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005023/1.025, allocations: 0.4996 MB / 1.5 GB, free: 11.1 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004484/1.026, allocations: 258.8 kB / 1.501 GB, free: 10.84 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001697/1.026, allocations: 357.9 kB / 1.501 GB, free: 10.48 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001283/1.027, allocations: 0.5999 MB / 1.502 GB, free: 9.883 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001515/1.029, allocations: 0.813 MB / 1.502 GB, free: 9.02 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002726/1.031, allocations: 1.357 MB / 1.504 GB, free: 7.652 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/1.031, allocations: 0 / 1.504 GB, free: 7.652 MB / 1.201 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.00449/1.036, allocations: 1.847 MB / 1.505 GB, free: 5.781 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/1.036, allocations: 8 kB / 1.505 GB, free: 5.773 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/1.036, allocations: 8 kB / 1.505 GB, free: 5.766 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001114/1.037, allocations: 208.1 kB / 1.506 GB, free: 5.547 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001715/1.039, allocations: 343.5 kB / 1.506 GB, free: 5.211 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006885/1.046, allocations: 7.316 MB / 1.513 GB, free: 13.18 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001828/1.047, allocations: 183.7 kB / 1.513 GB, free: 13 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001648/1.048, allocations: 51.97 kB / 1.513 GB, free: 12.95 MB / 1.217 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.001125/1.049, allocations: 487.2 kB / 1.514 GB, free: 12.47 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004761/1.049, allocations: 190.8 kB / 1.514 GB, free: 12.28 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004901/1.054, allocations: 2.148 MB / 1.516 GB, free: 10.1 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.589e-05/1.054, allocations: 16 kB / 1.516 GB, free: 10.09 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/1.054, allocations: 4 kB / 1.516 GB, free: 10.08 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.678e-05/1.054, allocations: 7.969 kB / 1.516 GB, free: 10.07 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007793/1.062, allocations: 4.018 MB / 1.52 GB, free: 5.984 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.087e-06/1.062, allocations: 3.938 kB / 1.52 GB, free: 5.98 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001587/1.064, allocations: 323.5 kB / 1.52 GB, free: 5.664 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00092/1.064, allocations: 192.1 kB / 1.521 GB, free: 5.461 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001123/1.065, allocations: 43.95 kB / 1.521 GB, free: 5.418 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006632/1.071, allocations: 7.359 MB / 1.528 GB, free: 13.35 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/1.071, allocations: 3.938 kB / 1.528 GB, free: 13.35 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004721/1.076, allocations: 2.029 MB / 1.53 GB, free: 11.28 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001121/1.077, allocations: 483.2 kB / 1.53 GB, free: 10.79 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002803/1.077, allocations: 28 kB / 1.53 GB, free: 10.76 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001345/1.079, allocations: 109.9 kB / 1.53 GB, free: 10.66 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002668/1.079, allocations: 117.1 kB / 1.53 GB, free: 10.54 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001573/1.079, allocations: 71.95 kB / 1.531 GB, free: 10.47 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001867/1.081, allocations: 1.31 MB / 1.532 GB, free: 9.164 MB / 1.232 GB Notification: Performance of sort global known variables: time 8e-08/1.081, allocations: 0 / 1.532 GB, free: 9.164 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001932/1.083, allocations: 0.686 MB / 1.533 GB, free: 8.477 MB / 1.232 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.002408/1.085, allocations: 0.761 MB / 1.533 GB, free: 7.91 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.004003/1.089, allocations: 2.051 MB / 1.535 GB, free: 5.797 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 9.067e-06/1.089, allocations: 0.5625 kB / 1.535 GB, free: 5.793 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.00235/1.092, allocations: 1.371 MB / 1.537 GB, free: 4.355 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002865/1.095, allocations: 0.559 MB / 1.537 GB, free: 3.82 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007657/1.102, allocations: 3.923 MB / 1.541 GB, free: 15.87 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001303/1.103, allocations: 1.545 MB / 1.542 GB, free: 14.29 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001844/1.105, allocations: 0.5008 MB / 1.543 GB, free: 13.78 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005138/1.106, allocations: 171.4 kB / 1.543 GB, free: 13.61 MB / 1.248 GB Notification: Performance of SimCode: time 9.22e-07/1.106, allocations: 0 / 1.543 GB, free: 13.61 MB / 1.248 GB Notification: Performance of Templates: time 0.05945/1.165, allocations: 33.17 MB / 1.576 GB, free: 12.81 MB / 1.279 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.sim & ./Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sources_Examples_Outside_CpData_Angles.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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.134765400085598]