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.000939/0.000939, allocations: 80.8 kB / 20.75 MB, free: 3.734 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.001076/0.001076, allocations: 161 kB / 24.16 MB, free: 328 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.952/0.952, allocations: 177.1 MB / 204.6 MB, free: 5.453 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.951/1.951, allocations: 377.9 MB / 0.624 GB, free: 8.34 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.373e-06/1.373e-06, allocations: 0 / 0.76 GB, free: 6.621 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.854e-05/1.992e-05, allocations: 2.312 kB / 0.76 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.1326/0.1327, allocations: 150.3 MB / 0.9068 GB, free: 15.9 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.01549/0.1481, allocations: 15.57 MB / 0.922 GB, free: 288 kB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001323/0.1495, allocations: 39.62 kB / 0.9221 GB, free: 248 kB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.00104/0.1505, allocations: 428.3 kB / 0.9225 GB, free: 15.82 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.003213/0.1537, allocations: 1.519 MB / 0.924 GB, free: 14.29 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.002408/0.1561, allocations: 1.465 MB / 0.9254 GB, free: 12.82 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.003354/0.1595, allocations: 2.979 MB / 0.9283 GB, free: 9.832 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002266/0.1618, allocations: 1.673 MB / 0.9299 GB, free: 8.082 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003366/0.1651, allocations: 2.1 MB / 0.932 GB, free: 6.125 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008642/0.166, allocations: 0.8957 MB / 0.9329 GB, free: 5.227 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.0002039/0.1662, allocations: 220 kB / 0.9331 GB, free: 5.012 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001678/0.1679, allocations: 1.096 MB / 0.9341 GB, free: 3.914 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0004837/0.1683, allocations: 0.8218 MB / 0.9349 GB, free: 3.09 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0006751/0.169, allocations: 0.8183 MB / 0.9357 GB, free: 2.27 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.003058/0.1721, allocations: 2.635 MB / 0.9383 GB, free: 15.62 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.1721, allocations: 0 / 0.9383 GB, free: 15.62 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.232e-06/0.1721, allocations: 0 / 0.9383 GB, free: 15.62 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 1.752e-05/0.1721, allocations: 0 / 0.9383 GB, free: 15.62 MB / 0.9011 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.002393/0.1745, allocations: 2.682 MB / 0.9409 GB, free: 12.9 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.233e-05/0.1745, allocations: 12.02 kB / 0.9409 GB, free: 12.89 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001977/0.1765, allocations: 0.8023 MB / 0.9417 GB, free: 12.08 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001259/0.1778, allocations: 1.136 MB / 0.9428 GB, free: 10.89 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.554e-05/0.1778, allocations: 131.4 kB / 0.943 GB, free: 10.77 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001632/0.178, allocations: 188 kB / 0.9431 GB, free: 10.58 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00147/0.1795, allocations: 1.984 MB / 0.9451 GB, free: 8.375 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.455e-05/0.1795, allocations: 0 / 0.9451 GB, free: 8.375 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.455e-05/0.1796, allocations: 79.98 kB / 0.9452 GB, free: 8.297 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.22e-05/0.1796, allocations: 40 kB / 0.9452 GB, free: 8.258 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009446/0.1806, allocations: 0.871 MB / 0.946 GB, free: 7.375 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003933/0.1845, allocations: 2.991 MB / 0.949 GB, free: 4.32 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009811/0.1855, allocations: 0.7523 MB / 0.9497 GB, free: 3.562 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002858/0.1858, allocations: 287.5 kB / 0.95 GB, free: 3.277 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001597/0.1859, allocations: 77.27 kB / 0.95 GB, free: 3.203 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007403/0.1867, allocations: 1.2 MB / 0.9512 GB, free: 1.832 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=154): time 3.026e-06/0.1867, allocations: 0 / 0.9512 GB, free: 1.832 MB / 0.9011 GB Notification: Performance of matching and sorting (n=154): time 0.001986/0.1886, allocations: 1.161 MB / 0.9524 GB, free: 0.6523 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.049e-05/0.1887, allocations: 209.2 kB / 0.9526 GB, free: 416 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000843/0.1896, allocations: 1.145 MB / 0.9537 GB, free: 15.24 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 8.882e-05/0.1897, allocations: 65.7 kB / 0.9537 GB, free: 15.17 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003107/0.19, allocations: 0.6238 MB / 0.9543 GB, free: 14.53 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002601/0.1902, allocations: 0.5111 MB / 0.9548 GB, free: 14.02 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002444/0.1905, allocations: 259.4 kB / 0.9551 GB, free: 13.76 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.862e-05/0.1906, allocations: 365.8 kB / 0.9554 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002319/0.1908, allocations: 170.7 kB / 0.9556 GB, free: 13.23 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000399/0.1912, allocations: 0.667 MB / 0.9563 GB, free: 12.44 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007107/0.1919, allocations: 0.5413 MB / 0.9568 GB, free: 11.88 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.1919, allocations: 0 / 0.9568 GB, free: 11.88 MB / 0.9167 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.001102/0.193, allocations: 0.8203 MB / 0.9576 GB, free: 11.04 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.193, allocations: 8 kB / 0.9576 GB, free: 11.03 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.318e-06/0.193, allocations: 3.938 kB / 0.9576 GB, free: 11.03 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006229/0.1937, allocations: 256 kB / 0.9578 GB, free: 10.76 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007205/0.1944, allocations: 323.6 kB / 0.9581 GB, free: 10.45 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002907/0.1973, allocations: 6.052 MB / 0.9641 GB, free: 3.953 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006396/0.1979, allocations: 135.2 kB / 0.9642 GB, free: 3.82 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.591e-05/0.198, allocations: 43.95 kB / 0.9642 GB, free: 3.777 MB / 0.9167 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.conTimMin.canRepeatWeatherFile,weaDat.conTim.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.0004652/0.1985, allocations: 214.9 kB / 0.9644 GB, free: 3.551 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001812/0.1986, allocations: 151.8 kB / 0.9646 GB, free: 3.402 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001325/0.2, allocations: 1.09 MB / 0.9656 GB, free: 2.285 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.017e-06/0.2, allocations: 19.94 kB / 0.9657 GB, free: 2.266 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.2, allocations: 0 / 0.9657 GB, free: 2.266 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.14e-05/0.2, allocations: 7.969 kB / 0.9657 GB, free: 2.258 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002452/0.2024, allocations: 2.048 MB / 0.9677 GB, free: 160 kB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.2024, allocations: 4 kB / 0.9677 GB, free: 156 kB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006468/0.2031, allocations: 287.6 kB / 0.9679 GB, free: 15.87 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005227/0.2036, allocations: 244 kB / 0.9682 GB, free: 15.62 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.259e-05/0.2037, allocations: 39.91 kB / 0.9682 GB, free: 15.58 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002902/0.2066, allocations: 6.067 MB / 0.9741 GB, free: 9.074 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.2066, allocations: 4 kB / 0.9741 GB, free: 9.07 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00128/0.2078, allocations: 1.019 MB / 0.9751 GB, free: 8.016 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004534/0.2083, allocations: 290.3 kB / 0.9754 GB, free: 7.73 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001408/0.2084, allocations: 31.98 kB / 0.9754 GB, free: 7.699 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004572/0.2089, allocations: 69.27 kB / 0.9755 GB, free: 7.633 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000155/0.209, allocations: 125.6 kB / 0.9756 GB, free: 7.512 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.351e-05/0.2091, allocations: 47.95 kB / 0.9757 GB, free: 7.465 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0005362/0.2097, allocations: 0.6317 MB / 0.9763 GB, free: 6.828 MB / 0.9323 GB Notification: Performance of sort global known variables: time 7.1e-08/0.2097, allocations: 0 / 0.9763 GB, free: 6.828 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001408/0.2111, allocations: 0.7171 MB / 0.977 GB, free: 6.109 MB / 0.9323 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.002023/0.2131, allocations: 0.889 MB / 0.9779 GB, free: 5.484 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001357/0.2145, allocations: 1.259 MB / 0.9791 GB, free: 4.156 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.799e-05/0.2145, allocations: 16.89 kB / 0.9791 GB, free: 4.141 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0007243/0.2152, allocations: 0.9974 MB / 0.9801 GB, free: 3.082 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001357/0.2166, allocations: 0.5727 MB / 0.9806 GB, free: 2.531 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0041/0.2207, allocations: 3.361 MB / 0.9839 GB, free: 15.12 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003123/0.221, allocations: 440.7 kB / 0.9843 GB, free: 14.67 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001132/0.2221, allocations: 352.8 kB / 0.9847 GB, free: 14.32 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001104/0.2232, allocations: 0.5847 MB / 0.9853 GB, free: 13.72 MB / 0.948 GB Notification: Performance of SimCode: time 2.665e-06/0.2232, allocations: 7.938 kB / 0.9853 GB, free: 13.71 MB / 0.948 GB Notification: Performance of Templates: time 0.04309/0.2663, allocations: 35.05 MB / 1.019 GB, free: 11.31 MB / 0.9792 GB " [Timeout remaining time 300] 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: 6.375338787212968]