Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001129/0.001129, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001029/0.001029, allocations: 173 kB / 23.02 MB, free: 1.547 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 / 203.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.069/2.069, allocations: 429.5 MB / 0.6732 GB, free: 4.074 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.Sources.Examples.Outside") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 4.812 kB / 0.8782 GB, free: 6.332 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.316e-05/2.473e-05, allocations: 8.844 kB / 0.8782 GB, free: 6.324 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.1741/0.1742, allocations: 149.9 MB / 1.025 GB, free: 15.85 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.0116/0.1858, allocations: 9.274 MB / 1.034 GB, free: 6.551 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001113/0.1869, allocations: 39.69 kB / 1.034 GB, free: 6.512 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0009639/0.1878, allocations: 329.2 kB / 1.034 GB, free: 6.188 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.002343/0.1902, allocations: 1.017 MB / 1.035 GB, free: 5.164 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.003045/0.1932, allocations: 1.453 MB / 1.036 GB, free: 3.707 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.002479/0.1957, allocations: 2.431 MB / 1.039 GB, free: 1.27 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00167/0.1974, allocations: 1.085 MB / 1.04 GB, free: 152 kB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002591/0.2, allocations: 1.493 MB / 1.041 GB, free: 14.7 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000807/0.2008, allocations: 0.6426 MB / 1.042 GB, free: 14.05 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0002131/0.201, allocations: 148 kB / 1.042 GB, free: 13.91 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001468/0.2025, allocations: 0.9317 MB / 1.043 GB, free: 12.98 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0003368/0.2028, allocations: 462.5 kB / 1.043 GB, free: 12.52 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0005035/0.2033, allocations: 0.5416 MB / 1.044 GB, free: 11.98 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.002383/0.2057, allocations: 1.876 MB / 1.046 GB, free: 10.1 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.2057, allocations: 0 / 1.046 GB, free: 10.1 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.753e-06/0.2057, allocations: 0 / 1.046 GB, free: 10.1 MB / 1.01 GB Notification: Performance of Transformations before backend: time 3.45e-05/0.2057, allocations: 0 / 1.046 GB, free: 10.1 MB / 1.01 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.002289/0.208, allocations: 1.949 MB / 1.048 GB, free: 8.098 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.2081, allocations: 12.03 kB / 1.048 GB, free: 8.086 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001596/0.2097, allocations: 0.5639 MB / 1.048 GB, free: 7.52 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001104/0.2108, allocations: 0.941 MB / 1.049 GB, free: 6.539 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.347e-05/0.2108, allocations: 90.38 kB / 1.049 GB, free: 6.449 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001258/0.2109, allocations: 128 kB / 1.049 GB, free: 6.324 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001342/0.2123, allocations: 1.309 MB / 1.051 GB, free: 4.867 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.969e-05/0.2123, allocations: 0 / 1.051 GB, free: 4.867 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.159e-05/0.2124, allocations: 51.94 kB / 1.051 GB, free: 4.816 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.071e-05/0.2124, allocations: 32 kB / 1.051 GB, free: 4.785 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001199/0.2136, allocations: 0.9576 MB / 1.052 GB, free: 3.816 MB / 1.01 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.003794/0.2174, allocations: 3.014 MB / 1.055 GB, free: 0.7305 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001049/0.2184, allocations: 0.6968 MB / 1.055 GB, free: 28 kB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.6007/0.8192, allocations: 247.4 kB / 1.056 GB, free: 72.75 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004507/0.8196, allocations: 94.66 kB / 1.056 GB, free: 72.75 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007787/0.8204, allocations: 0.7133 MB / 1.056 GB, free: 72.39 MB / 1.01 GB Notification: Performance of pre-optimization done (n=114): time 3.757e-06/0.8204, allocations: 2.906 kB / 1.056 GB, free: 72.39 MB / 1.01 GB Notification: Performance of matching and sorting (n=114): time 0.002279/0.8227, allocations: 1.066 MB / 1.057 GB, free: 72.32 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.784e-05/0.8227, allocations: 205.9 kB / 1.058 GB, free: 72.1 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006743/0.8234, allocations: 0.7003 MB / 1.058 GB, free: 71.91 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 8.031e-05/0.8235, allocations: 56.33 kB / 1.058 GB, free: 71.88 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003422/0.8238, allocations: 0.5772 MB / 1.059 GB, free: 71.71 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001989/0.824, allocations: 396.3 kB / 1.059 GB, free: 71.51 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002204/0.8243, allocations: 236.5 kB / 1.059 GB, free: 71.48 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 8.984e-05/0.8244, allocations: 0.5189 MB / 1.06 GB, free: 71 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002991/0.8246, allocations: 189.6 kB / 1.06 GB, free: 71 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004025/0.8251, allocations: 496.6 kB / 1.061 GB, free: 70.71 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007036/0.8258, allocations: 0.5333 MB / 1.061 GB, free: 70.62 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.8258, allocations: 0 / 1.061 GB, free: 70.62 MB / 1.01 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.001355/0.8271, allocations: 0.8734 MB / 1.062 GB, free: 70.49 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.523e-05/0.8271, allocations: 5.375 kB / 1.062 GB, free: 70.49 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/0.8271, allocations: 3.562 kB / 1.062 GB, free: 70.49 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000479/0.8276, allocations: 130.9 kB / 1.062 GB, free: 70.48 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005884/0.8282, allocations: 250.9 kB / 1.062 GB, free: 70.48 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001329/0.8295, allocations: 1.901 MB / 1.064 GB, free: 68.73 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005022/0.83, allocations: 105.2 kB / 1.064 GB, free: 68.7 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.601e-05/0.8301, allocations: 53.78 kB / 1.064 GB, free: 68.7 MB / 1.01 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.0003248/0.8305, allocations: 228.8 kB / 1.065 GB, free: 68.54 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001583/0.8306, allocations: 154.8 kB / 1.065 GB, free: 68.48 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001471/0.8321, allocations: 1.188 MB / 1.066 GB, free: 68.34 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/0.8321, allocations: 11.53 kB / 1.066 GB, free: 68.34 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.8321, allocations: 1.062 kB / 1.066 GB, free: 68.34 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.059e-05/0.8321, allocations: 6.469 kB / 1.066 GB, free: 68.34 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002612/0.8347, allocations: 2.099 MB / 1.068 GB, free: 67.84 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.441e-06/0.8347, allocations: 6.781 kB / 1.068 GB, free: 67.84 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000481/0.8352, allocations: 196.8 kB / 1.068 GB, free: 67.84 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003555/0.8356, allocations: 122.7 kB / 1.068 GB, free: 67.83 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.112e-05/0.8356, allocations: 33.17 kB / 1.068 GB, free: 67.83 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009704/0.8366, allocations: 1.933 MB / 1.07 GB, free: 66.08 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.8366, allocations: 3 kB / 1.07 GB, free: 66.08 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001718/0.8383, allocations: 1.306 MB / 1.071 GB, free: 65.71 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003579/0.8387, allocations: 248.7 kB / 1.072 GB, free: 65.65 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000109/0.8388, allocations: 31.75 kB / 1.072 GB, free: 65.65 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003412/0.8391, allocations: 57.84 kB / 1.072 GB, free: 65.64 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001646/0.8393, allocations: 89.12 kB / 1.072 GB, free: 65.64 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.739e-05/0.8394, allocations: 51.64 kB / 1.072 GB, free: 65.64 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0004316/0.8398, allocations: 465.4 kB / 1.072 GB, free: 65.51 MB / 1.01 GB Notification: Performance of sort global known variables: time 7.81e-07/0.8398, allocations: 0 / 1.072 GB, free: 65.51 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001226/0.841, allocations: 494 kB / 1.073 GB, free: 65.48 MB / 1.01 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 (121): * Single equations (assignments): 110 * 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.001612/0.8426, allocations: 0.7036 MB / 1.074 GB, free: 65.34 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001229/0.8439, allocations: 0.8257 MB / 1.074 GB, free: 65.13 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.8439, allocations: 0 / 1.074 GB, free: 65.13 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.000583/0.8444, allocations: 0.5489 MB / 1.075 GB, free: 64.94 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001176/0.8456, allocations: 469.9 kB / 1.075 GB, free: 64.9 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00344/0.8491, allocations: 2.185 MB / 1.077 GB, free: 63.91 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001851/0.8492, allocations: 252.6 kB / 1.078 GB, free: 63.83 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0007087/0.85, allocations: 332.2 kB / 1.078 GB, free: 63.78 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002616/0.8502, allocations: 133.2 kB / 1.078 GB, free: 63.77 MB / 1.01 GB Notification: Performance of SimCode: time 1.092e-06/0.8502, allocations: 1.094 kB / 1.078 GB, free: 63.77 MB / 1.01 GB Notification: Performance of Templates: time 0.0352/0.8854, allocations: 23.56 MB / 1.101 GB, free: 61.34 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.Outside -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 7.35947594512254]