Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.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.001022/0.001022, 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.0009734/0.0009734, allocations: 161 kB / 23.82 MB, free: 0.7539 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.9987/0.9987, allocations: 177.1 MB / 204.2 MB, free: 5.641 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.98/1.98, allocations: 377.8 MB / 0.6236 GB, free: 8.57 MB / 0.5886 GB " [Timeout remaining time 177] 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.Validation.Outside_CpData_Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|winDir.y|nor.pWin|eas.pWin|sou.pWin|wes.pWin|nor.alpha|eas.alpha|sou.alpha|wes.alpha",fileNamePrefix="Buildings_12_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions") translateModel(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|winDir.y|nor.pWin|eas.pWin|sou.pWin|wes.pWin|nor.alpha|eas.alpha|sou.alpha|wes.alpha",fileNamePrefix="Buildings_12_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.8115 GB, free: 1.727 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.832e-05/3.002e-05, allocations: 3.531 kB / 0.8115 GB, free: 1.723 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.1571/0.1571, allocations: 151.1 MB / 0.9591 GB, free: 10.14 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.01408/0.1712, allocations: 15.57 MB / 0.9743 GB, free: 10.53 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008853/0.1721, allocations: 47.62 kB / 0.9743 GB, free: 10.48 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0009487/0.173, allocations: 428.2 kB / 0.9747 GB, free: 10.06 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.002738/0.1757, allocations: 1.5 MB / 0.9762 GB, free: 8.551 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.00231/0.1781, allocations: 1.465 MB / 0.9776 GB, free: 7.082 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.002414/0.1805, allocations: 2.979 MB / 0.9805 GB, free: 4.094 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001558/0.182, allocations: 1.645 MB / 0.9821 GB, free: 2.387 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002758/0.1848, allocations: 2.058 MB / 0.9842 GB, free: 480 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008402/0.1856, allocations: 0.9386 MB / 0.9851 GB, free: 15.53 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.0002503/0.1859, allocations: 232 kB / 0.9853 GB, free: 15.3 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001633/0.1875, allocations: 1.108 MB / 0.9864 GB, free: 14.19 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0006006/0.1881, allocations: 0.8412 MB / 0.9872 GB, free: 13.35 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0006164/0.1887, allocations: 0.8456 MB / 0.988 GB, free: 12.5 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.002454/0.1912, allocations: 2.666 MB / 0.9906 GB, free: 9.824 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1912, allocations: 0 / 0.9906 GB, free: 9.824 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.332e-06/0.1912, allocations: 0 / 0.9906 GB, free: 9.824 MB / 0.948 GB Notification: Performance of Transformations before backend: time 2.074e-05/0.1912, allocations: 0 / 0.9906 GB, free: 9.824 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.00272/0.1939, allocations: 2.881 MB / 0.9934 GB, free: 6.887 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.194, allocations: 12.03 kB / 0.9935 GB, free: 6.875 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002295/0.1963, allocations: 0.875 MB / 0.9943 GB, free: 5.996 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001489/0.1977, allocations: 1.38 MB / 0.9957 GB, free: 4.578 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.655e-05/0.1978, allocations: 131.4 kB / 0.9958 GB, free: 4.449 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001738/0.198, allocations: 192 kB / 0.996 GB, free: 4.262 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001946/0.1999, allocations: 2.169 MB / 0.9981 GB, free: 1.84 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.676e-05/0.2, allocations: 4 kB / 0.9981 GB, free: 1.836 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001096/0.2001, allocations: 72 kB / 0.9982 GB, free: 1.766 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.633e-05/0.2001, allocations: 44 kB / 0.9982 GB, free: 1.723 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001425/0.2015, allocations: 1.198 MB / 0.9994 GB, free: 0.5195 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004638/0.2062, allocations: 4.219 MB / 1.003 GB, free: 12.21 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001301/0.2075, allocations: 0.902 MB / 1.004 GB, free: 11.31 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004829/0.2079, allocations: 383.8 kB / 1.005 GB, free: 10.94 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001693/0.2081, allocations: 73.27 kB / 1.005 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009365/0.2091, allocations: 1.275 MB / 1.006 GB, free: 9.418 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=154): time 2.766e-06/0.2091, allocations: 0 / 1.006 GB, free: 9.418 MB / 0.9636 GB Notification: Performance of matching and sorting (n=154): time 0.00324/0.2123, allocations: 1.663 MB / 1.008 GB, free: 7.73 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.894e-05/0.2124, allocations: 209.2 kB / 1.008 GB, free: 7.48 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00108/0.2135, allocations: 1.323 MB / 1.009 GB, free: 6.125 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.518e-05/0.2136, allocations: 61.7 kB / 1.009 GB, free: 6.059 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004931/0.214, allocations: 0.9338 MB / 1.01 GB, free: 5.109 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002799/0.2143, allocations: 0.5112 MB / 1.011 GB, free: 4.594 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003172/0.2146, allocations: 281.2 kB / 1.011 GB, free: 4.309 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.2148, allocations: 0.5277 MB / 1.011 GB, free: 3.773 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004192/0.2152, allocations: 255.8 kB / 1.012 GB, free: 3.523 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006874/0.2159, allocations: 0.9427 MB / 1.013 GB, free: 2.406 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009528/0.2168, allocations: 0.6799 MB / 1.013 GB, free: 1.715 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.2168, allocations: 0 / 1.013 GB, free: 1.715 MB / 0.9636 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.001979/0.2188, allocations: 1.252 MB / 1.014 GB, free: 444 kB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.2188, allocations: 4 kB / 1.014 GB, free: 440 kB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.2189, allocations: 4 kB / 1.014 GB, free: 436 kB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007735/0.2196, allocations: 266.3 kB / 1.015 GB, free: 148 kB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008421/0.2205, allocations: 347.5 kB / 1.015 GB, free: 15.8 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004351/0.2248, allocations: 8.99 MB / 1.024 GB, free: 6.199 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005755/0.2254, allocations: 135.2 kB / 1.024 GB, free: 6.066 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.928e-05/0.2255, allocations: 55.97 kB / 1.024 GB, free: 6.012 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.0003462/0.2258, allocations: 254.9 kB / 1.024 GB, free: 5.75 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002424/0.2261, allocations: 234.8 kB / 1.024 GB, free: 5.52 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00196/0.228, allocations: 1.467 MB / 1.026 GB, free: 4.02 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/0.228, allocations: 16 kB / 1.026 GB, free: 4.004 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.228, allocations: 7.938 kB / 1.026 GB, free: 3.996 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.074e-05/0.228, allocations: 7.969 kB / 1.026 GB, free: 3.988 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003778/0.2318, allocations: 2.938 MB / 1.029 GB, free: 0.9609 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.7e-06/0.2318, allocations: 4 kB / 1.029 GB, free: 0.957 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007337/0.2326, allocations: 315.6 kB / 1.029 GB, free: 0.6484 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000625/0.2332, allocations: 258.1 kB / 1.029 GB, free: 384 kB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.068e-05/0.2333, allocations: 43.97 kB / 1.029 GB, free: 340 kB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00395/0.2372, allocations: 8.993 MB / 1.038 GB, free: 6.715 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2372, allocations: 0 / 1.038 GB, free: 6.715 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001881/0.2391, allocations: 1.473 MB / 1.04 GB, free: 5.199 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005294/0.2396, allocations: 394.2 kB / 1.04 GB, free: 4.812 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000124/0.2397, allocations: 36 kB / 1.04 GB, free: 4.777 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005124/0.2403, allocations: 76.19 kB / 1.04 GB, free: 4.707 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000205/0.2405, allocations: 129.8 kB / 1.04 GB, free: 4.578 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.796e-05/0.2406, allocations: 67.95 kB / 1.04 GB, free: 4.512 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0007608/0.2413, allocations: 0.8377 MB / 1.041 GB, free: 3.676 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7e-08/0.2413, allocations: 0 / 1.041 GB, free: 3.676 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001531/0.2429, allocations: 0.721 MB / 1.042 GB, free: 2.953 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.00172/0.2446, allocations: 0.7744 MB / 1.043 GB, free: 2.352 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0017/0.2463, allocations: 1.737 MB / 1.044 GB, free: 0.5234 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.2463, allocations: 4.656 kB / 1.044 GB, free: 0.5195 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009389/0.2472, allocations: 1.363 MB / 1.046 GB, free: 15.07 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001318/0.2485, allocations: 0.5906 MB / 1.046 GB, free: 14.5 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004201/0.2527, allocations: 3.404 MB / 1.05 GB, free: 11.04 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000288/0.253, allocations: 432.8 kB / 1.05 GB, free: 10.59 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.000863/0.2539, allocations: 460.6 kB / 1.05 GB, free: 10.13 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003521/0.2542, allocations: 180.4 kB / 1.051 GB, free: 9.957 MB / 1.01 GB Notification: Performance of SimCode: time 1.062e-06/0.2542, allocations: 0 / 1.051 GB, free: 9.957 MB / 1.01 GB Notification: Performance of Templates: time 0.4222/0.6764, allocations: 32.68 MB / 1.082 GB, free: 136.1 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.sim & ./Buildings_12_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Validation_Outside_CpData_Directions.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: 7.109009950887412]