Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.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.001283/0.001283, allocations: 73.97 kB / 20.65 MB, free: 3.844 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.001351/0.001351, allocations: 169 kB / 24.06 MB, free: 452 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 1.005/1.005, allocations: 177.1 MB / 204.5 MB, free: 5.48 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.097/2.097, allocations: 429.5 MB / 0.6743 GB, free: 3.883 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_Cp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bou1.ports.[0-9,]+..p|bou2.ports.[0-9,]+..p|bouFix.ports.[0-9,]+..p|ori1.m_flow|ori2.m_flow|ori1.dp|ori2.dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp") translateModel(Buildings.Fluid.Sources.Examples.Outside_Cp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bou1.ports.[0-9,]+..p|bou2.ports.[0-9,]+..p|bouFix.ports.[0-9,]+..p|ori1.m_flow|ori2.m_flow|ori1.dp|ori2.dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 0.8794 GB, free: 6.055 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.414e-05/2.599e-05, allocations: 6.312 kB / 0.8794 GB, free: 6.047 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.1309/0.131, allocations: 148.6 MB / 1.025 GB, free: 0.9141 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.01479/0.1457, allocations: 13.46 MB / 1.038 GB, free: 3.414 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001296/0.147, allocations: 39.69 kB / 1.038 GB, free: 3.375 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.001018/0.1481, allocations: 408.4 kB / 1.038 GB, free: 2.973 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.00289/0.1509, allocations: 1.347 MB / 1.039 GB, free: 1.617 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002548/0.1535, allocations: 1.472 MB / 1.041 GB, free: 144 kB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.003425/0.1569, allocations: 2.975 MB / 1.044 GB, free: 13.16 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001868/0.1588, allocations: 1.442 MB / 1.045 GB, free: 11.66 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003311/0.1621, allocations: 2.023 MB / 1.047 GB, free: 9.727 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001081/0.1632, allocations: 0.8296 MB / 1.048 GB, free: 8.895 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0003169/0.1635, allocations: 196 kB / 1.048 GB, free: 8.703 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001629/0.1651, allocations: 0.9046 MB / 1.049 GB, free: 7.797 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0004007/0.1655, allocations: 0.5957 MB / 1.05 GB, free: 7.199 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.000705/0.1662, allocations: 0.6975 MB / 1.05 GB, free: 6.5 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.002524/0.1688, allocations: 2.184 MB / 1.052 GB, free: 4.309 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.1688, allocations: 0 / 1.052 GB, free: 4.309 MB / 1.01 GB Notification: Performance of FrontEnd: time 9.62e-07/0.1688, allocations: 0 / 1.052 GB, free: 4.309 MB / 1.01 GB Notification: Performance of Transformations before backend: time 4.953e-05/0.1688, allocations: 0 / 1.052 GB, free: 4.309 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: 415 * Number of variables: 415 Notification: Performance of Generate backend data structure: time 0.002675/0.1715, allocations: 2.406 MB / 1.055 GB, free: 1.844 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.1715, allocations: 8.031 kB / 1.055 GB, free: 1.836 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002523/0.174, allocations: 0.8171 MB / 1.056 GB, free: 1.016 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4261/0.6001, allocations: 1.074 MB / 1.057 GB, free: 75.48 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000102/0.6002, allocations: 123.3 kB / 1.057 GB, free: 75.48 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002783/0.6005, allocations: 178.6 kB / 1.057 GB, free: 75.48 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001711/0.6022, allocations: 1.885 MB / 1.059 GB, free: 74.45 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.518e-05/0.6022, allocations: 1.031 kB / 1.059 GB, free: 74.45 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.849e-05/0.6023, allocations: 74.03 kB / 1.059 GB, free: 74.45 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.461e-05/0.6024, allocations: 50.66 kB / 1.059 GB, free: 74.45 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001041/0.6034, allocations: 0.9851 MB / 1.06 GB, free: 74.41 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.004548/0.608, allocations: 4.657 MB / 1.064 GB, free: 72.45 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009922/0.609, allocations: 0.7352 MB / 1.065 GB, free: 72.4 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003004/0.6093, allocations: 291 kB / 1.065 GB, free: 72.39 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001359/0.6094, allocations: 54.47 kB / 1.065 GB, free: 72.39 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006601/0.6101, allocations: 1.046 MB / 1.066 GB, free: 71.69 MB / 1.01 GB Notification: Performance of pre-optimization done (n=134): time 3.497e-06/0.6101, allocations: 0 / 1.066 GB, free: 71.69 MB / 1.01 GB Notification: Performance of matching and sorting (n=134): time 0.002124/0.6122, allocations: 1.166 MB / 1.068 GB, free: 71.54 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.656e-05/0.6122, allocations: 209.7 kB / 1.068 GB, free: 71.32 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005668/0.6128, allocations: 0.8027 MB / 1.069 GB, free: 71.1 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 8.455e-05/0.6129, allocations: 59.02 kB / 1.069 GB, free: 71.07 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003269/0.6132, allocations: 0.7689 MB / 1.069 GB, free: 70.76 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002207/0.6134, allocations: 465.5 kB / 1.07 GB, free: 70.52 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002834/0.6137, allocations: 281.9 kB / 1.07 GB, free: 70.49 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 9.058e-05/0.6138, allocations: 0.5326 MB / 1.071 GB, free: 70.01 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000265/0.6141, allocations: 186.1 kB / 1.071 GB, free: 70.01 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004156/0.6145, allocations: 0.5949 MB / 1.071 GB, free: 69.58 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007122/0.6152, allocations: 0.687 MB / 1.072 GB, free: 69.32 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.135e-06/0.6152, allocations: 2.719 kB / 1.072 GB, free: 69.32 MB / 1.01 GB Notification: Performance of matching and sorting (n=171) (initialization): time 0.001443/0.6167, allocations: 0.9926 MB / 1.073 GB, free: 69.18 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.6167, allocations: 11.38 kB / 1.073 GB, free: 69.18 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.6167, allocations: 6.031 kB / 1.073 GB, free: 69.18 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000458/0.6172, allocations: 133.3 kB / 1.073 GB, free: 69.16 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008113/0.618, allocations: 344.8 kB / 1.073 GB, free: 69.16 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001116/0.6191, allocations: 1.887 MB / 1.075 GB, free: 67.43 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006343/0.6197, allocations: 134.9 kB / 1.075 GB, free: 67.41 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.671e-05/0.6198, allocations: 58.78 kB / 1.076 GB, free: 67.41 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (169): * Single equations (assignments): 168 * 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.0003688/0.6202, allocations: 245.2 kB / 1.076 GB, free: 67.24 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000217/0.6204, allocations: 183.6 kB / 1.076 GB, free: 67.17 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001442/0.6218, allocations: 1.125 MB / 1.077 GB, free: 67.06 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.825e-06/0.6218, allocations: 13.97 kB / 1.077 GB, free: 67.06 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.6218, allocations: 1.031 kB / 1.077 GB, free: 67.06 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/0.6218, allocations: 6.797 kB / 1.077 GB, free: 67.06 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002588/0.6244, allocations: 2.172 MB / 1.079 GB, free: 66.64 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.117e-06/0.6244, allocations: 0 / 1.079 GB, free: 66.64 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006923/0.6251, allocations: 286 kB / 1.079 GB, free: 66.64 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000363/0.6255, allocations: 115.5 kB / 1.08 GB, free: 66.63 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.656e-05/0.6256, allocations: 44.08 kB / 1.08 GB, free: 66.63 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000858/0.6264, allocations: 1.893 MB / 1.081 GB, free: 64.9 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.6264, allocations: 0 / 1.081 GB, free: 64.9 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0016/0.628, allocations: 1.357 MB / 1.083 GB, free: 64.58 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003815/0.6284, allocations: 307.6 kB / 1.083 GB, free: 64.51 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001345/0.6285, allocations: 30.78 kB / 1.083 GB, free: 64.51 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004982/0.629, allocations: 82.66 kB / 1.083 GB, free: 64.51 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001237/0.6291, allocations: 98.55 kB / 1.083 GB, free: 64.51 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.486e-05/0.6292, allocations: 54.12 kB / 1.083 GB, free: 64.51 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0003116/0.6295, allocations: 484.3 kB / 1.084 GB, free: 64.36 MB / 1.01 GB Notification: Performance of sort global known variables: time 3.11e-07/0.6295, allocations: 3.25 kB / 1.084 GB, free: 64.36 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001138/0.6307, allocations: 0.5763 MB / 1.084 GB, free: 64.31 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (ori1.mExc,ori2.mExc) * 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 (144): * Single equations (assignments): 133 * 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.001411/0.6321, allocations: 0.6867 MB / 1.085 GB, free: 64.17 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001466/0.6335, allocations: 0.8959 MB / 1.086 GB, free: 63.96 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 7.264e-06/0.6336, allocations: 4.969 kB / 1.086 GB, free: 63.96 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0006549/0.6342, allocations: 0.5894 MB / 1.086 GB, free: 63.77 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001735/0.6359, allocations: 0.5414 MB / 1.087 GB, free: 63.71 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004083/0.64, allocations: 2.65 MB / 1.09 GB, free: 62.58 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002632/0.6403, allocations: 314.7 kB / 1.09 GB, free: 62.48 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001024/0.6413, allocations: 312.8 kB / 1.09 GB, free: 62.41 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001194/0.6425, allocations: 0.6115 MB / 1.091 GB, free: 62.35 MB / 1.01 GB Notification: Performance of SimCode: time 1.403e-06/0.6425, allocations: 1.906 kB / 1.091 GB, free: 62.35 MB / 1.01 GB Notification: Performance of Templates: time 0.04181/0.6843, allocations: 28.57 MB / 1.119 GB, free: 59.38 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside_Cp.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.04819672415033]