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.00092/0.00092, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.0009197/0.0009197, allocations: 161.4 kB / 23.82 MB, free: 0.7578 MB / 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.9327/0.9327, allocations: 177.1 MB / 204.2 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.809/1.809, allocations: 377.9 MB / 0.6236 GB, free: 8.523 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 0.8115 GB, free: 1.711 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.55e-05/1.729e-05, allocations: 4.219 kB / 0.8115 GB, free: 1.707 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1388/0.1388, allocations: 151.1 MB / 0.9591 GB, free: 10.11 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.01411/0.153, allocations: 15.56 MB / 0.9743 GB, free: 10.49 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007188/0.1537, allocations: 43.62 kB / 0.9743 GB, free: 10.45 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0008158/0.1545, allocations: 432.2 kB / 0.9748 GB, free: 10.02 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.002388/0.1569, allocations: 1.495 MB / 0.9762 GB, free: 8.52 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.002189/0.1591, allocations: 1.469 MB / 0.9777 GB, free: 7.047 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.002394/0.1615, allocations: 2.979 MB / 0.9806 GB, free: 4.059 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001631/0.1631, allocations: 1.645 MB / 0.9822 GB, free: 2.352 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002985/0.1661, allocations: 2.096 MB / 0.9842 GB, free: 408 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009792/0.1671, allocations: 0.9191 MB / 0.9851 GB, free: 15.48 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.0003042/0.1674, allocations: 220 kB / 0.9853 GB, free: 15.26 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001468/0.1688, allocations: 1.096 MB / 0.9864 GB, free: 14.16 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0004694/0.1693, allocations: 0.8295 MB / 0.9872 GB, free: 13.33 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0006526/0.17, allocations: 0.8261 MB / 0.988 GB, free: 12.5 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.00252/0.1725, allocations: 2.631 MB / 0.9906 GB, free: 9.863 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1725, allocations: 0 / 0.9906 GB, free: 9.863 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.192e-06/0.1725, allocations: 0 / 0.9906 GB, free: 9.863 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.727e-05/0.1725, allocations: 0 / 0.9906 GB, free: 9.863 MB / 0.948 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.00269/0.1752, allocations: 2.885 MB / 0.9934 GB, free: 6.922 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.247e-05/0.1752, allocations: 8.031 kB / 0.9934 GB, free: 6.914 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002227/0.1775, allocations: 0.8789 MB / 0.9943 GB, free: 6.031 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001299/0.1788, allocations: 1.388 MB / 0.9956 GB, free: 4.598 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.568e-05/0.1788, allocations: 131.4 kB / 0.9957 GB, free: 4.469 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001674/0.179, allocations: 188 kB / 0.9959 GB, free: 4.285 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001996/0.181, allocations: 2.104 MB / 0.998 GB, free: 1.949 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.383e-05/0.181, allocations: 3.938 kB / 0.998 GB, free: 1.945 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001072/0.1811, allocations: 68 kB / 0.998 GB, free: 1.879 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.706e-05/0.1812, allocations: 52 kB / 0.9981 GB, free: 1.828 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001436/0.1826, allocations: 1.194 MB / 0.9993 GB, free: 0.6289 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004395/0.187, allocations: 4.159 MB / 1.003 GB, free: 12.38 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001221/0.1882, allocations: 0.8997 MB / 1.004 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000473/0.1887, allocations: 390.1 kB / 1.005 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001746/0.1889, allocations: 77.27 kB / 1.005 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009233/0.1898, allocations: 1.271 MB / 1.006 GB, free: 9.582 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=154): time 2.525e-06/0.1898, allocations: 0 / 1.006 GB, free: 9.582 MB / 0.9636 GB Notification: Performance of matching and sorting (n=154): time 0.002904/0.1927, allocations: 1.663 MB / 1.008 GB, free: 7.895 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001055/0.1928, allocations: 209.2 kB / 1.008 GB, free: 7.645 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001186/0.194, allocations: 1.325 MB / 1.009 GB, free: 6.289 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.769e-05/0.1941, allocations: 73.69 kB / 1.009 GB, free: 6.211 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005413/0.1946, allocations: 0.934 MB / 1.01 GB, free: 5.262 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003031/0.1949, allocations: 0.5229 MB / 1.011 GB, free: 4.734 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002934/0.1952, allocations: 273.2 kB / 1.011 GB, free: 4.457 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001629/0.1954, allocations: 0.5316 MB / 1.011 GB, free: 3.918 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003998/0.1958, allocations: 251.8 kB / 1.012 GB, free: 3.672 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006638/0.1964, allocations: 0.8005 MB / 1.012 GB, free: 2.738 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009189/0.1974, allocations: 0.6721 MB / 1.013 GB, free: 2.055 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.1974, allocations: 4 kB / 1.013 GB, free: 2.051 MB / 0.9636 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.00178/0.1991, allocations: 1.248 MB / 1.014 GB, free: 0.7734 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.1992, allocations: 4 kB / 1.014 GB, free: 0.7695 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.1992, allocations: 4 kB / 1.014 GB, free: 0.7656 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008453/0.2, allocations: 274.2 kB / 1.014 GB, free: 488 kB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008419/0.2009, allocations: 347.5 kB / 1.015 GB, free: 140 kB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00447/0.2053, allocations: 8.979 MB / 1.024 GB, free: 6.543 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006252/0.206, allocations: 143.2 kB / 1.024 GB, free: 6.402 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.454e-05/0.206, allocations: 59.97 kB / 1.024 GB, free: 6.344 MB / 0.9792 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.0003555/0.2064, allocations: 250.9 kB / 1.024 GB, free: 6.086 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002437/0.2066, allocations: 238.8 kB / 1.024 GB, free: 5.852 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001921/0.2086, allocations: 1.463 MB / 1.026 GB, free: 4.355 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.987e-06/0.2086, allocations: 16 kB / 1.026 GB, free: 4.34 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.2086, allocations: 7.922 kB / 1.026 GB, free: 4.332 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/0.2086, allocations: 11.91 kB / 1.026 GB, free: 4.32 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003393/0.212, allocations: 2.911 MB / 1.029 GB, free: 1.32 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.212, allocations: 4 kB / 1.029 GB, free: 1.316 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007202/0.2127, allocations: 319.6 kB / 1.029 GB, free: 1.004 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000603/0.2133, allocations: 258.2 kB / 1.029 GB, free: 0.7305 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.672e-05/0.2134, allocations: 47.89 kB / 1.029 GB, free: 0.6836 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00382/0.2172, allocations: 8.986 MB / 1.038 GB, free: 7.074 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.2172, allocations: 0 / 1.038 GB, free: 7.074 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001734/0.2189, allocations: 1.465 MB / 1.039 GB, free: 5.566 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00044/0.2194, allocations: 394.2 kB / 1.04 GB, free: 5.18 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001325/0.2195, allocations: 39.98 kB / 1.04 GB, free: 5.141 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004782/0.22, allocations: 68.42 kB / 1.04 GB, free: 5.078 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001633/0.2201, allocations: 125.8 kB / 1.04 GB, free: 4.953 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.514e-05/0.2202, allocations: 71.94 kB / 1.04 GB, free: 4.883 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0006962/0.2209, allocations: 0.8306 MB / 1.041 GB, free: 4.055 MB / 0.9948 GB Notification: Performance of sort global known variables: time 6e-08/0.2209, allocations: 0 / 1.041 GB, free: 4.055 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001132/0.2221, allocations: 0.7171 MB / 1.042 GB, free: 3.336 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.00143/0.2235, allocations: 0.7751 MB / 1.042 GB, free: 2.734 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.001533/0.225, allocations: 1.726 MB / 1.044 GB, free: 0.918 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.225, allocations: 4.656 kB / 1.044 GB, free: 0.9141 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001047/0.2261, allocations: 1.367 MB / 1.045 GB, free: 15.46 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001256/0.2273, allocations: 0.5968 MB / 1.046 GB, free: 14.88 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003824/0.2312, allocations: 3.4 MB / 1.049 GB, free: 11.43 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002808/0.2314, allocations: 440.7 kB / 1.05 GB, free: 10.97 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0008505/0.2323, allocations: 464.6 kB / 1.05 GB, free: 10.51 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003316/0.2326, allocations: 176.4 kB / 1.05 GB, free: 10.34 MB / 1.01 GB Notification: Performance of SimCode: time 8.61e-07/0.2326, allocations: 0 / 1.05 GB, free: 10.34 MB / 1.01 GB Notification: Performance of Templates: time 0.3899/0.6225, allocations: 34.4 MB / 1.084 GB, free: 136.1 MB / 1.01 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1) [Timeout 240] 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","",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.535367588978261]