Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData.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.001032/0.001032, allocations: 79.59 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.001181/0.001181, allocations: 165.3 kB / 23.82 MB, free: 0.75 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 1.015/1.015, allocations: 177.1 MB / 204.2 MB, free: 5.645 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.913/1.913, 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.Examples.Outside_CpData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.325e-06/2.325e-06, allocations: 0 / 0.8115 GB, free: 0.6094 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.258e-05/3.491e-05, allocations: 3.781 kB / 0.8115 GB, free: 0.6055 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.1447/0.1448, allocations: 151.1 MB / 0.9591 GB, free: 9.059 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.01578/0.1605, allocations: 15.55 MB / 0.9742 GB, free: 9.457 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001487/0.162, allocations: 43.62 kB / 0.9743 GB, free: 9.414 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.001282/0.1633, allocations: 416.4 kB / 0.9747 GB, free: 9.004 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.003626/0.1669, allocations: 1.499 MB / 0.9761 GB, free: 7.496 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.003026/0.17, allocations: 1.453 MB / 0.9776 GB, free: 6.039 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.003525/0.1735, allocations: 2.971 MB / 0.9805 GB, free: 3.055 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002381/0.1759, allocations: 1.645 MB / 0.9821 GB, free: 1.352 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004428/0.1803, allocations: 2.037 MB / 0.9841 GB, free: 15.45 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001588/0.1819, allocations: 0.9425 MB / 0.985 GB, free: 14.51 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.0005782/0.1825, allocations: 228 kB / 0.9852 GB, free: 14.29 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002136/0.1846, allocations: 1.096 MB / 0.9863 GB, free: 13.19 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0007283/0.1853, allocations: 0.8413 MB / 0.9871 GB, free: 12.34 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.001208/0.1865, allocations: 0.8456 MB / 0.9879 GB, free: 11.5 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.004325/0.1908, allocations: 2.651 MB / 0.9905 GB, free: 8.836 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/0.1909, allocations: 7.984 kB / 0.9905 GB, free: 8.828 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.846e-06/0.1909, allocations: 4 kB / 0.9905 GB, free: 8.824 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0001221/0.191, allocations: 0 / 0.9905 GB, free: 8.824 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: 435 * Number of variables: 435 Notification: Performance of Generate backend data structure: time 0.004274/0.1953, allocations: 2.866 MB / 0.9933 GB, free: 5.895 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/0.1953, allocations: 12.03 kB / 0.9933 GB, free: 5.883 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002583/0.1979, allocations: 0.8556 MB / 0.9942 GB, free: 5.023 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001912/0.1998, allocations: 1.383 MB / 0.9955 GB, free: 3.598 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.791e-05/0.1999, allocations: 135.4 kB / 0.9956 GB, free: 3.465 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001882/0.2001, allocations: 184 kB / 0.9958 GB, free: 3.285 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002249/0.2023, allocations: 2.173 MB / 0.9979 GB, free: 0.8594 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.825e-05/0.2024, allocations: 0 / 0.9979 GB, free: 0.8594 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001108/0.2025, allocations: 76 kB / 0.998 GB, free: 0.7852 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.234e-05/0.2025, allocations: 40 kB / 0.998 GB, free: 0.7461 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001626/0.2041, allocations: 1.202 MB / 0.9992 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005709/0.2098, allocations: 4.208 MB / 1.003 GB, free: 11.24 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001515/0.2113, allocations: 0.8785 MB / 1.004 GB, free: 10.36 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005104/0.2119, allocations: 379.8 kB / 1.005 GB, free: 9.996 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002041/0.2121, allocations: 81.25 kB / 1.005 GB, free: 9.914 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001184/0.2132, allocations: 1.267 MB / 1.006 GB, free: 8.477 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=154): time 3.977e-06/0.2132, allocations: 0 / 1.006 GB, free: 8.477 MB / 0.9167 GB Notification: Performance of matching and sorting (n=154): time 0.003256/0.2165, allocations: 1.667 MB / 1.007 GB, free: 6.785 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001037/0.2166, allocations: 213.2 kB / 1.008 GB, free: 6.531 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001357/0.218, allocations: 1.314 MB / 1.009 GB, free: 5.184 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001192/0.2181, allocations: 65.7 kB / 1.009 GB, free: 5.113 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006204/0.2187, allocations: 0.9181 MB / 1.01 GB, free: 4.18 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003675/0.2191, allocations: 0.519 MB / 1.01 GB, free: 3.652 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003165/0.2194, allocations: 273.2 kB / 1.011 GB, free: 3.379 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001622/0.2195, allocations: 0.5316 MB / 1.011 GB, free: 2.84 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004589/0.22, allocations: 259.8 kB / 1.011 GB, free: 2.586 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007516/0.2208, allocations: 0.931 MB / 1.012 GB, free: 1.477 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001/0.2218, allocations: 0.6838 MB / 1.013 GB, free: 0.7812 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/0.2218, allocations: 4 kB / 1.013 GB, free: 0.7773 MB / 0.9167 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.002022/0.2238, allocations: 1.244 MB / 1.014 GB, free: 15.5 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/0.2238, allocations: 4 kB / 1.014 GB, free: 15.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.2238, allocations: 0 / 1.014 GB, free: 15.5 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008079/0.2246, allocations: 278.2 kB / 1.015 GB, free: 15.21 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008753/0.2255, allocations: 347.5 kB / 1.015 GB, free: 14.87 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004677/0.2302, allocations: 8.982 MB / 1.024 GB, free: 5.27 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009328/0.2311, allocations: 127.2 kB / 1.024 GB, free: 5.145 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.745e-05/0.2312, allocations: 63.95 kB / 1.024 GB, free: 5.082 MB / 0.9323 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 (165): * Single equations (assignments): 160 * 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.0006218/0.2318, allocations: 255.1 kB / 1.024 GB, free: 4.824 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003488/0.2322, allocations: 230.8 kB / 1.024 GB, free: 4.598 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002152/0.2343, allocations: 1.467 MB / 1.026 GB, free: 3.098 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.069e-05/0.2343, allocations: 16 kB / 1.026 GB, free: 3.082 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.78e-06/0.2343, allocations: 3.938 kB / 1.026 GB, free: 3.078 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.25e-05/0.2344, allocations: 15.97 kB / 1.026 GB, free: 3.062 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00421/0.2386, allocations: 2.934 MB / 1.029 GB, free: 44 kB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.2386, allocations: 0 / 1.029 GB, free: 44 kB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.4771/0.7156, allocations: 307.7 kB / 1.029 GB, free: 80.21 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008497/0.7165, allocations: 264.7 kB / 1.029 GB, free: 80.15 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001508/0.7166, allocations: 44.77 kB / 1.029 GB, free: 80.15 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003384/0.72, allocations: 8.98 MB / 1.038 GB, free: 71.58 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.72, allocations: 1.031 kB / 1.038 GB, free: 71.58 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002706/0.7227, allocations: 1.478 MB / 1.039 GB, free: 71.27 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000765/0.7235, allocations: 397.1 kB / 1.04 GB, free: 71.27 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000184/0.7237, allocations: 34.08 kB / 1.04 GB, free: 71.27 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005966/0.7243, allocations: 78.12 kB / 1.04 GB, free: 71.27 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000269/0.7245, allocations: 126.2 kB / 1.04 GB, free: 71.26 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001366/0.7247, allocations: 72.92 kB / 1.04 GB, free: 71.26 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001327/0.726, allocations: 0.8264 MB / 1.041 GB, free: 71.11 MB / 0.9323 GB Notification: Performance of sort global known variables: time 4.81e-07/0.726, allocations: 0.875 kB / 1.041 GB, free: 71.11 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001847/0.7279, allocations: 0.7113 MB / 1.042 GB, free: 71.09 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.001781/0.7296, allocations: 0.7624 MB / 1.042 GB, free: 70.96 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.002353/0.732, allocations: 1.734 MB / 1.044 GB, free: 70.05 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/0.732, allocations: 3.141 kB / 1.044 GB, free: 70.05 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001326/0.7333, allocations: 1.375 MB / 1.045 GB, free: 69.17 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001873/0.7352, allocations: 0.5894 MB / 1.046 GB, free: 69.12 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005164/0.7404, allocations: 3.337 MB / 1.049 GB, free: 67.65 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004978/0.7409, allocations: 433.5 kB / 1.05 GB, free: 67.54 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001396/0.7423, allocations: 458.2 kB / 1.05 GB, free: 67.48 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004324/0.7427, allocations: 178.5 kB / 1.05 GB, free: 67.47 MB / 0.9323 GB Notification: Performance of SimCode: time 1.763e-06/0.7427, allocations: 0 / 1.05 GB, free: 67.47 MB / 0.9323 GB Notification: Performance of Templates: time 0.04312/0.7858, allocations: 32.44 MB / 1.082 GB, free: 63.37 MB / 0.9323 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData.sim & ./Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Examples_Outside_CpData.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.080475798342377]