Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sources.Examples.Outside.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.0009972/0.0009972, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001808/0.001808, allocations: 169 kB / 24.28 MB, free: 276 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.921/0.921, 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.85/1.85, 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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTem.T|senMasFra.X|senRelHum.phi",fileNamePrefix="Buildings_11_Buildings.Fluid.Sources.Examples.Outside") translateModel(Buildings.Fluid.Sources.Examples.Outside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTem.T|senMasFra.X|senRelHum.phi",fileNamePrefix="Buildings_11_Buildings.Fluid.Sources.Examples.Outside") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.244e-06/2.244e-06, allocations: 0 / 0.7871 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.319e-05/3.544e-05, allocations: 8.781 kB / 0.7871 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.1494/0.1495, allocations: 172.8 MB / 0.9559 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.0122/0.1617, allocations: 11.21 MB / 0.9668 GB, free: 4.203 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001436/0.1631, allocations: 43.62 kB / 0.9668 GB, free: 4.16 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.001329/0.1644, allocations: 436.4 kB / 0.9673 GB, free: 3.73 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.002928/0.1674, allocations: 1.15 MB / 0.9684 GB, free: 2.57 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.003606/0.171, allocations: 1.783 MB / 0.9701 GB, free: 0.7812 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.002707/0.1737, allocations: 2.47 MB / 0.9725 GB, free: 14.3 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001564/0.1752, allocations: 1.159 MB / 0.9737 GB, free: 13.09 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00352/0.1788, allocations: 1.752 MB / 0.9754 GB, free: 11.39 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001016/0.1798, allocations: 0.6854 MB / 0.976 GB, free: 10.71 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0002938/0.1801, allocations: 168 kB / 0.9762 GB, free: 10.54 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002762/0.1828, allocations: 1.294 MB / 0.9775 GB, free: 9.246 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0004413/0.1833, allocations: 486.5 kB / 0.9779 GB, free: 8.77 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0006735/0.184, allocations: 0.5494 MB / 0.9785 GB, free: 8.219 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.003818/0.1878, allocations: 2.091 MB / 0.9805 GB, free: 6.121 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.1878, allocations: 3.938 kB / 0.9805 GB, free: 6.117 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.392e-06/0.1878, allocations: 0 / 0.9805 GB, free: 6.117 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.85e-05/0.1878, allocations: 3.938 kB / 0.9805 GB, free: 6.113 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: 301 * Number of variables: 301 Notification: Performance of Generate backend data structure: time 0.00314/0.191, allocations: 1.996 MB / 0.9825 GB, free: 4.066 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.191, allocations: 8.031 kB / 0.9825 GB, free: 4.059 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002337/0.1933, allocations: 0.5678 MB / 0.983 GB, free: 3.488 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00155/0.1949, allocations: 0.9549 MB / 0.984 GB, free: 2.504 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.986e-05/0.195, allocations: 90.38 kB / 0.9841 GB, free: 2.414 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001729/0.1951, allocations: 139.9 kB / 0.9842 GB, free: 2.277 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001868/0.197, allocations: 1.382 MB / 0.9855 GB, free: 0.7266 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.805e-05/0.197, allocations: 0 / 0.9855 GB, free: 0.7266 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001112/0.1972, allocations: 52 kB / 0.9856 GB, free: 0.6758 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.638e-05/0.1972, allocations: 28 kB / 0.9856 GB, free: 0.6484 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001623/0.1988, allocations: 0.9538 MB / 0.9865 GB, free: 15.68 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.004892/0.2037, allocations: 3.053 MB / 0.9895 GB, free: 12.55 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001406/0.2051, allocations: 0.7054 MB / 0.9902 GB, free: 11.85 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004431/0.2056, allocations: 257.9 kB / 0.9905 GB, free: 11.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004044/0.206, allocations: 108.9 kB / 0.9906 GB, free: 11.49 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000867/0.2068, allocations: 0.718 MB / 0.9913 GB, free: 10.69 MB / 0.948 GB Notification: Performance of pre-optimization done (n=114): time 4.669e-06/0.2068, allocations: 4 kB / 0.9913 GB, free: 10.69 MB / 0.948 GB Notification: Performance of matching and sorting (n=114): time 0.00272/0.2096, allocations: 1.069 MB / 0.9923 GB, free: 9.613 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001189/0.2097, allocations: 208.9 kB / 0.9925 GB, free: 9.363 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008398/0.2105, allocations: 0.7103 MB / 0.9932 GB, free: 8.641 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.911e-05/0.2106, allocations: 61.69 kB / 0.9933 GB, free: 8.574 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004208/0.211, allocations: 0.5782 MB / 0.9938 GB, free: 7.988 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003151/0.2113, allocations: 396.7 kB / 0.9942 GB, free: 7.598 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003177/0.2117, allocations: 232.5 kB / 0.9944 GB, free: 7.363 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001623/0.2118, allocations: 0.5199 MB / 0.9949 GB, free: 6.836 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004121/0.2122, allocations: 190.5 kB / 0.9951 GB, free: 6.648 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006536/0.2129, allocations: 0.5192 MB / 0.9956 GB, free: 6.051 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00098/0.2139, allocations: 0.5345 MB / 0.9961 GB, free: 5.496 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.2139, allocations: 0 / 0.9961 GB, free: 5.496 MB / 0.948 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.00175/0.2156, allocations: 0.8826 MB / 0.997 GB, free: 4.602 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.502e-05/0.2156, allocations: 4 kB / 0.997 GB, free: 4.598 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.2157, allocations: 0 / 0.997 GB, free: 4.598 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005954/0.2162, allocations: 131.7 kB / 0.9971 GB, free: 4.465 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007754/0.217, allocations: 251.6 kB / 0.9974 GB, free: 4.219 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001705/0.2187, allocations: 1.906 MB / 0.9992 GB, free: 2.188 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005764/0.2193, allocations: 101.8 kB / 0.9993 GB, free: 2.09 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.396e-05/0.2194, allocations: 63.91 kB / 0.9994 GB, free: 2.027 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (141): * Single equations (assignments): 140 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003876/0.2198, allocations: 231 kB / 0.9996 GB, free: 1.789 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002386/0.22, allocations: 155.2 kB / 0.9998 GB, free: 1.637 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002027/0.2221, allocations: 1.195 MB / 1.001 GB, free: 420 kB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.284e-05/0.2221, allocations: 15.98 kB / 1.001 GB, free: 404 kB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.2221, allocations: 0 / 1.001 GB, free: 404 kB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.258e-05/0.2221, allocations: 7.969 kB / 1.001 GB, free: 396 kB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003328/0.2254, allocations: 2.137 MB / 1.003 GB, free: 14.16 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/0.2254, allocations: 3.984 kB / 1.003 GB, free: 14.16 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006222/0.226, allocations: 195.7 kB / 1.003 GB, free: 13.97 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000457/0.2265, allocations: 123.8 kB / 1.003 GB, free: 13.84 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.356e-05/0.2266, allocations: 39.92 kB / 1.003 GB, free: 13.8 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00142/0.228, allocations: 1.921 MB / 1.005 GB, free: 11.75 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.228, allocations: 3.938 kB / 1.005 GB, free: 11.75 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00213/0.2301, allocations: 1.317 MB / 1.007 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004457/0.2306, allocations: 258.9 kB / 1.007 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001368/0.2307, allocations: 31.94 kB / 1.007 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004803/0.2312, allocations: 60.12 kB / 1.007 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001783/0.2314, allocations: 92.77 kB / 1.007 GB, free: 9.945 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.007e-05/0.2314, allocations: 51.97 kB / 1.007 GB, free: 9.895 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0005191/0.232, allocations: 486.9 kB / 1.007 GB, free: 9.426 MB / 0.9636 GB Notification: Performance of sort global known variables: time 2.5e-07/0.232, allocations: 0 / 1.007 GB, free: 9.426 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.001235/0.2332, allocations: 494.7 kB / 1.008 GB, free: 8.941 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (senTem.T,senRelHum.phi,senMasFra.X) * 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 (122): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001703/0.2349, allocations: 0.7267 MB / 1.009 GB, free: 8.387 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.001457/0.2363, allocations: 0.8305 MB / 1.009 GB, free: 7.539 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.2363, allocations: 0 / 1.009 GB, free: 7.539 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0007269/0.2371, allocations: 0.5554 MB / 1.01 GB, free: 6.961 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001414/0.2385, allocations: 479.3 kB / 1.01 GB, free: 6.512 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003722/0.2422, allocations: 2.198 MB / 1.013 GB, free: 4.242 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002328/0.2424, allocations: 252.8 kB / 1.013 GB, free: 3.969 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0009951/0.2434, allocations: 340.8 kB / 1.013 GB, free: 3.633 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003373/0.2438, allocations: 140.4 kB / 1.013 GB, free: 3.496 MB / 0.9636 GB Notification: Performance of SimCode: time 1.833e-06/0.2438, allocations: 0 / 1.013 GB, free: 3.496 MB / 0.9636 GB Notification: Performance of Templates: time 0.02765/0.2714, allocations: 22.73 MB / 1.036 GB, free: 13.18 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Examples.Outside.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside.sim & ./Buildings_11_Buildings.Fluid.Sources.Examples.Outside -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Examples.Outside_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sources_Examples_Outside.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.752475471002981]