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.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.001316/0.001316, allocations: 71.75 kB / 20.97 MB, free: 3.574 MB / 18.57 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.001514/0.001514, allocations: 169.3 kB / 24.28 MB, free: 272 kB / 18.57 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 0.9558/0.9558, allocations: 177.1 MB / 204.6 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.772/1.772, allocations: 359 MB / 0.6055 GB, free: 11.02 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_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 2.244e-06/2.244e-06, allocations: 0 / 0.7871 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.153e-05/3.377e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1675/0.1676, allocations: 164.2 MB / 0.9475 GB, free: 8.023 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.01706/0.1846, allocations: 17.85 MB / 0.9649 GB, free: 6.125 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001339/0.186, allocations: 47.62 kB / 0.965 GB, free: 6.078 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.001232/0.1872, allocations: 0.5736 MB / 0.9655 GB, free: 5.5 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.003572/0.1908, allocations: 1.873 MB / 0.9673 GB, free: 3.617 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.002567/0.1933, allocations: 1.476 MB / 0.9688 GB, free: 2.133 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.002429/0.1958, allocations: 3.01 MB / 0.9717 GB, free: 15.11 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001524/0.1973, allocations: 1.649 MB / 0.9733 GB, free: 13.41 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003244/0.2005, allocations: 2.139 MB / 0.9754 GB, free: 11.4 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009009/0.2014, allocations: 0.9503 MB / 0.9764 GB, free: 10.45 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0002326/0.2017, allocations: 228 kB / 0.9766 GB, free: 10.22 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002237/0.2039, allocations: 1.481 MB / 0.978 GB, free: 8.738 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0005098/0.2044, allocations: 0.8452 MB / 0.9788 GB, free: 7.891 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0007512/0.2052, allocations: 0.8456 MB / 0.9797 GB, free: 7.043 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.003343/0.2085, allocations: 2.83 MB / 0.9824 GB, free: 4.203 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.2085, allocations: 0 / 0.9824 GB, free: 4.203 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.094e-06/0.2085, allocations: 0 / 0.9824 GB, free: 4.203 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 2.631e-05/0.2086, allocations: 0 / 0.9824 GB, free: 4.203 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 436 * Number of variables: 436 Notification: Performance of Generate backend data structure: time 0.003029/0.2116, allocations: 2.927 MB / 0.9853 GB, free: 1.219 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.2116, allocations: 8.031 kB / 0.9853 GB, free: 1.211 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002579/0.2142, allocations: 0.8673 MB / 0.9862 GB, free: 348 kB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001598/0.2158, allocations: 1.392 MB / 0.9875 GB, free: 14.91 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.772e-05/0.2159, allocations: 127.4 kB / 0.9876 GB, free: 14.78 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001765/0.2161, allocations: 196 kB / 0.9878 GB, free: 14.59 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002259/0.2183, allocations: 2.169 MB / 0.9899 GB, free: 12.17 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.626e-05/0.2183, allocations: 4 kB / 0.9899 GB, free: 12.16 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001145/0.2185, allocations: 75.94 kB / 0.99 GB, free: 12.09 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.687e-05/0.2185, allocations: 44 kB / 0.9901 GB, free: 12.05 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001494/0.22, allocations: 1.19 MB / 0.9912 GB, free: 10.85 MB / 0.948 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.004926/0.2249, allocations: 4.229 MB / 0.9953 GB, free: 6.539 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001607/0.2265, allocations: 0.9013 MB / 0.9962 GB, free: 5.629 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000484/0.227, allocations: 379.2 kB / 0.9966 GB, free: 5.258 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002668/0.2273, allocations: 129.2 kB / 0.9967 GB, free: 5.129 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009729/0.2282, allocations: 1.267 MB / 0.9979 GB, free: 3.691 MB / 0.948 GB Notification: Performance of pre-optimization done (n=154): time 3.907e-06/0.2282, allocations: 96 / 0.9979 GB, free: 3.691 MB / 0.948 GB Notification: Performance of matching and sorting (n=154): time 0.003123/0.2314, allocations: 1.674 MB / 0.9996 GB, free: 1.992 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.508e-05/0.2314, allocations: 205.2 kB / 0.9998 GB, free: 1.746 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0012/0.2326, allocations: 1.337 MB / 1.001 GB, free: 388 kB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001039/0.2327, allocations: 65.69 kB / 1.001 GB, free: 316 kB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005346/0.2333, allocations: 0.9419 MB / 1.002 GB, free: 15.35 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003071/0.2336, allocations: 0.515 MB / 1.003 GB, free: 14.83 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000278/0.2339, allocations: 277.2 kB / 1.003 GB, free: 14.55 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0003857/0.2343, allocations: 0.5316 MB / 1.003 GB, free: 14.01 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004109/0.2347, allocations: 255.8 kB / 1.004 GB, free: 13.76 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006703/0.2353, allocations: 0.9465 MB / 1.005 GB, free: 12.64 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009189/0.2363, allocations: 0.68 MB / 1.005 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.2363, allocations: 0 / 1.005 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.001841/0.2381, allocations: 1.244 MB / 1.006 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.2381, allocations: 5.406 kB / 1.006 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.2381, allocations: 4 kB / 1.006 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007643/0.2389, allocations: 270.2 kB / 1.007 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000828/0.2397, allocations: 351.5 kB / 1.007 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004224/0.2439, allocations: 8.995 MB / 1.016 GB, free: 440 kB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007343/0.2447, allocations: 135.2 kB / 1.016 GB, free: 304 kB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.216e-05/0.2448, allocations: 60 kB / 1.016 GB, free: 244 kB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 27 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,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 (166): * Single equations (assignments): 161 * 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.0004767/0.2452, allocations: 250.9 kB / 1.016 GB, free: 15.98 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000291/0.2455, allocations: 234.8 kB / 1.016 GB, free: 15.75 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002345/0.2479, allocations: 1.471 MB / 1.018 GB, free: 14.25 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.376e-06/0.2479, allocations: 16 kB / 1.018 GB, free: 14.23 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.2479, allocations: 8 kB / 1.018 GB, free: 14.22 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.137e-05/0.2479, allocations: 7.969 kB / 1.018 GB, free: 14.21 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003646/0.2515, allocations: 2.93 MB / 1.021 GB, free: 11.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.2515, allocations: 4 kB / 1.021 GB, free: 11.2 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007397/0.2523, allocations: 315.6 kB / 1.021 GB, free: 10.89 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006425/0.2529, allocations: 254.1 kB / 1.021 GB, free: 10.62 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.967e-05/0.253, allocations: 43.95 kB / 1.021 GB, free: 10.57 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003934/0.2569, allocations: 9.006 MB / 1.03 GB, free: 0.9492 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.2569, allocations: 0 / 1.03 GB, free: 0.9492 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002299/0.2592, allocations: 1.473 MB / 1.032 GB, free: 15.43 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005675/0.2598, allocations: 386.3 kB / 1.032 GB, free: 15.05 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001644/0.26, allocations: 47.77 kB / 1.032 GB, free: 15 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005553/0.2605, allocations: 88.28 kB / 1.032 GB, free: 14.92 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002221/0.2607, allocations: 129.8 kB / 1.032 GB, free: 14.79 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.861e-05/0.2608, allocations: 63.95 kB / 1.032 GB, free: 14.73 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0008194/0.2617, allocations: 0.8463 MB / 1.033 GB, free: 13.89 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7e-08/0.2617, allocations: 0 / 1.033 GB, free: 13.89 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001481/0.2631, allocations: 0.7171 MB / 1.034 GB, free: 13.17 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 10 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (157): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001597/0.2647, allocations: 0.7909 MB / 1.035 GB, free: 12.55 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.001892/0.2666, allocations: 1.733 MB / 1.036 GB, free: 10.73 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.2666, allocations: 0.6562 kB / 1.036 GB, free: 10.73 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001028/0.2677, allocations: 1.371 MB / 1.038 GB, free: 9.262 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001745/0.2694, allocations: 0.5776 MB / 1.038 GB, free: 8.699 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004523/0.2739, allocations: 3.416 MB / 1.042 GB, free: 5.238 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003249/0.2743, allocations: 436.8 kB / 1.042 GB, free: 4.785 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.00112/0.2754, allocations: 456.6 kB / 1.042 GB, free: 4.332 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003756/0.2758, allocations: 180.4 kB / 1.043 GB, free: 4.156 MB / 0.9948 GB Notification: Performance of SimCode: time 1.853e-06/0.2758, allocations: 0 / 1.043 GB, free: 4.156 MB / 0.9948 GB Notification: Performance of Templates: time 0.3405/0.6163, allocations: 33 MB / 1.075 GB, free: 293 MB / 0.9948 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.493356778984889]