Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.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.0007882/0.0007882, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.000831/0.000831, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.8435/0.8435, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.59/1.59, allocations: 359 MB / 0.6044 GB, free: 11.05 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_CpData_Specification,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|winDir.y|nor.pWin|weaDat.winSpe",fileNamePrefix="Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|winDir.y|nor.pWin|weaDat.winSpe",fileNamePrefix="Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 0.9517 GB, free: 2.969 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.26e-05/2.396e-05, allocations: 5.234 kB / 0.9517 GB, free: 2.965 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.617/0.617, allocations: 135.9 MB / 1.084 GB, free: 40.22 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.008573/0.6256, allocations: 9.946 MB / 1.094 GB, free: 39.09 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005768/0.6262, allocations: 30.53 kB / 1.094 GB, free: 39.07 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0007143/0.6269, allocations: 289.2 kB / 1.094 GB, free: 38.91 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001776/0.6286, allocations: 1.019 MB / 1.095 GB, free: 38.61 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001545/0.6302, allocations: 1.133 MB / 1.097 GB, free: 38.16 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0009276/0.6311, allocations: 1.812 MB / 1.098 GB, free: 37.32 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007237/0.6318, allocations: 0.95 MB / 1.099 GB, free: 36.88 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001304/0.6331, allocations: 1.059 MB / 1.1 GB, free: 36.44 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004686/0.6336, allocations: 0.5117 MB / 1.101 GB, free: 36.29 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001996/0.6338, allocations: 143.1 kB / 1.101 GB, free: 36.29 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00191/0.6357, allocations: 1.024 MB / 1.102 GB, free: 36.07 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002801/0.636, allocations: 404.6 kB / 1.102 GB, free: 35.85 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003919/0.6364, allocations: 476.1 kB / 1.103 GB, free: 35.65 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.002922/0.6393, allocations: 2.46 MB / 1.105 GB, free: 34.82 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.6393, allocations: 3.938 kB / 1.105 GB, free: 34.81 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.913e-06/0.6393, allocations: 1.062 kB / 1.105 GB, free: 34.81 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.731e-05/0.6393, allocations: 7.938 kB / 1.105 GB, free: 34.8 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.002237/0.6416, allocations: 1.712 MB / 1.107 GB, free: 33.71 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.6416, allocations: 12.8 kB / 1.107 GB, free: 33.71 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001245/0.6429, allocations: 323.7 kB / 1.107 GB, free: 33.62 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001092/0.644, allocations: 0.86 MB / 1.108 GB, free: 33.13 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.633e-05/0.644, allocations: 76.89 kB / 1.108 GB, free: 33.09 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001135/0.6441, allocations: 100.3 kB / 1.108 GB, free: 33.06 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001587/0.6457, allocations: 1.511 MB / 1.11 GB, free: 32.1 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.865e-05/0.6457, allocations: 0 / 1.11 GB, free: 32.1 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.875e-05/0.6458, allocations: 48.39 kB / 1.11 GB, free: 32.07 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.166e-05/0.6458, allocations: 23.06 kB / 1.11 GB, free: 32.07 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001728/0.6476, allocations: 1.275 MB / 1.111 GB, free: 31.76 MB / 0.9948 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.003543/0.6511, allocations: 2.625 MB / 1.114 GB, free: 30.34 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001329/0.6524, allocations: 1.021 MB / 1.115 GB, free: 29.96 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005028/0.6529, allocations: 405.9 kB / 1.115 GB, free: 29.81 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001494/0.6531, allocations: 57.03 kB / 1.115 GB, free: 29.8 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008522/0.6539, allocations: 0.8646 MB / 1.116 GB, free: 29.27 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=103): time 2.785e-06/0.6539, allocations: 1.125 kB / 1.116 GB, free: 29.27 MB / 0.9948 GB Notification: Performance of matching and sorting (n=103): time 0.002648/0.6566, allocations: 1.526 MB / 1.117 GB, free: 28.74 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.961e-05/0.6567, allocations: 201.8 kB / 1.117 GB, free: 28.52 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007561/0.6574, allocations: 0.7707 MB / 1.118 GB, free: 28.2 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 6.825e-05/0.6575, allocations: 59.23 kB / 1.118 GB, free: 28.14 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002355/0.6577, allocations: 477.2 kB / 1.119 GB, free: 27.77 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001626/0.6579, allocations: 346.5 kB / 1.119 GB, free: 27.51 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002138/0.6581, allocations: 203.1 kB / 1.119 GB, free: 27.42 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 5.258e-05/0.6581, allocations: 343.2 kB / 1.12 GB, free: 27.1 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005111/0.6587, allocations: 381.7 kB / 1.12 GB, free: 26.97 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006119/0.6593, allocations: 0.703 MB / 1.121 GB, free: 26.5 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001024/0.6603, allocations: 0.8274 MB / 1.121 GB, free: 26.14 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.6603, allocations: 0.7188 kB / 1.121 GB, free: 26.14 MB / 0.9948 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.00165/0.6619, allocations: 1.156 MB / 1.123 GB, free: 25.69 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.662, allocations: 5.406 kB / 1.123 GB, free: 25.69 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/0.662, allocations: 1.672 kB / 1.123 GB, free: 25.69 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004112/0.6624, allocations: 119.1 kB / 1.123 GB, free: 25.66 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005513/0.6629, allocations: 220.2 kB / 1.123 GB, free: 25.63 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00157/0.6645, allocations: 2.811 MB / 1.126 GB, free: 22.98 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005009/0.665, allocations: 115.2 kB / 1.126 GB, free: 22.93 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.749e-05/0.6651, allocations: 48.69 kB / 1.126 GB, free: 22.92 MB / 0.9948 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 (121): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000361/0.6654, allocations: 315.3 kB / 1.126 GB, free: 22.7 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001231/0.6656, allocations: 105 kB / 1.126 GB, free: 22.64 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001839/0.6674, allocations: 1.345 MB / 1.128 GB, free: 22.12 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.377e-06/0.6674, allocations: 12.31 kB / 1.128 GB, free: 22.12 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.6674, allocations: 3.938 kB / 1.128 GB, free: 22.11 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.236e-05/0.6674, allocations: 7.266 kB / 1.128 GB, free: 22.11 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002887/0.6703, allocations: 2.317 MB / 1.13 GB, free: 21.05 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.6703, allocations: 0 / 1.13 GB, free: 21.05 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004742/0.6708, allocations: 189.5 kB / 1.13 GB, free: 21.04 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000299/0.6711, allocations: 108.5 kB / 1.13 GB, free: 21.01 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.155e-05/0.6711, allocations: 27.34 kB / 1.13 GB, free: 21 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001317/0.6725, allocations: 2.83 MB / 1.133 GB, free: 18.35 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/0.6725, allocations: 0 / 1.133 GB, free: 18.35 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001618/0.6741, allocations: 1.269 MB / 1.134 GB, free: 17.8 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003331/0.6744, allocations: 248.4 kB / 1.134 GB, free: 17.66 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.989e-05/0.6745, allocations: 28.69 kB / 1.134 GB, free: 17.64 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004096/0.6749, allocations: 81.09 kB / 1.134 GB, free: 17.62 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001612/0.6751, allocations: 95.47 kB / 1.135 GB, free: 17.6 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.382e-05/0.6751, allocations: 43.53 kB / 1.135 GB, free: 17.59 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0005475/0.6757, allocations: 0.5495 MB / 1.135 GB, free: 17.36 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5e-08/0.6757, allocations: 0 / 1.135 GB, free: 17.36 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001163/0.6769, allocations: 472.5 kB / 1.136 GB, free: 17.24 MB / 0.9948 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 (112): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.001248/0.6781, allocations: 0.7807 MB / 1.136 GB, free: 16.96 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.001466/0.6796, allocations: 1.146 MB / 1.137 GB, free: 16.45 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.6796, allocations: 1.312 kB / 1.137 GB, free: 16.45 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007021/0.6803, allocations: 0.7215 MB / 1.138 GB, free: 16.07 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008612/0.6811, allocations: 347.7 kB / 1.139 GB, free: 15.96 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002545/0.6837, allocations: 2.12 MB / 1.141 GB, free: 14.89 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004574/0.6841, allocations: 0.514 MB / 1.141 GB, free: 14.74 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002888/0.6844, allocations: 136.3 kB / 1.141 GB, free: 14.72 MB / 0.9948 GB Notification: Performance of SimCode: time 5.31e-07/0.6844, allocations: 5.062 kB / 1.141 GB, free: 14.71 MB / 0.9948 GB Notification: Performance of Templates: time 0.02528/0.7097, allocations: 28.48 MB / 1.169 GB, free: 6.105 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.sim & ./Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sources_Examples_Outside_CpData_Specification.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.355388971976936]