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.001922/0.001922, allocations: 80.44 kB / 19.18 MB, free: 2.527 MB / 14.72 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.00242/0.00242, allocations: 166.6 kB / 22.46 MB, free: 5.355 MB / 14.72 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.528/1.528, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] 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 2.706/2.706, allocations: 359 MB / 0.6037 GB, free: 15 MB / 0.5762 GB " [Timeout remaining time 177] 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.663e-06/1.663e-06, allocations: 0 / 0.951 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.975e-05/3.141e-05, allocations: 2.281 kB / 0.951 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1954/0.1954, allocations: 135.9 MB / 1.084 GB, free: 3.172 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0174/0.2128, allocations: 9.942 MB / 1.093 GB, free: 9.199 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00126/0.214, allocations: 23.81 kB / 1.093 GB, free: 9.176 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001419/0.2155, allocations: 289.5 kB / 1.094 GB, free: 8.891 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00434/0.2198, allocations: 1.029 MB / 1.095 GB, free: 7.859 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00365/0.2235, allocations: 1.139 MB / 1.096 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003292/0.2267, allocations: 1.814 MB / 1.098 GB, free: 4.91 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002166/0.2289, allocations: 0.9474 MB / 1.099 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003727/0.2326, allocations: 1.046 MB / 1.1 GB, free: 2.895 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000999/0.2336, allocations: 0.5141 MB / 1.1 GB, free: 2.379 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002637/0.2339, allocations: 140 kB / 1.1 GB, free: 2.242 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002515/0.2364, allocations: 1.025 MB / 1.101 GB, free: 1.215 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004347/0.2368, allocations: 410.7 kB / 1.102 GB, free: 0.8125 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006513/0.2375, allocations: 474.8 kB / 1.102 GB, free: 356 kB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.7316/0.9691, allocations: 2.451 MB / 1.104 GB, free: 16.25 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.9691, allocations: 0.7812 kB / 1.104 GB, free: 16.25 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.814e-06/0.9691, allocations: 0 / 1.104 GB, free: 16.25 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.188e-05/0.9692, allocations: 4.281 kB / 1.104 GB, free: 16.25 MB / 0.9981 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.004672/0.9738, allocations: 1.712 MB / 1.106 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.9739, allocations: 8.656 kB / 1.106 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002521/0.9764, allocations: 321.9 kB / 1.106 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001934/0.9783, allocations: 0.8635 MB / 1.107 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001089/0.9784, allocations: 79.56 kB / 1.107 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001842/0.9786, allocations: 101.5 kB / 1.107 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002583/0.9812, allocations: 1.51 MB / 1.109 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.487e-05/0.9812, allocations: 3 kB / 1.109 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001206/0.9814, allocations: 45.78 kB / 1.109 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.769e-05/0.9814, allocations: 24.12 kB / 1.109 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002767/0.9842, allocations: 1.277 MB / 1.11 GB, free: 14.43 MB / 0.9981 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.005956/0.9901, allocations: 2.622 MB / 1.113 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002353/0.9925, allocations: 1.016 MB / 1.114 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008253/0.9933, allocations: 409.1 kB / 1.114 GB, free: 13.67 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002368/0.9935, allocations: 56.25 kB / 1.114 GB, free: 13.67 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001414/0.995, allocations: 0.8636 MB / 1.115 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=103): time 2.995e-06/0.995, allocations: 4.875 kB / 1.115 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of matching and sorting (n=103): time 0.004811/0.9998, allocations: 1.525 MB / 1.117 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.695e-05/0.9999, allocations: 202.5 kB / 1.117 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001329/1.001, allocations: 0.7788 MB / 1.117 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001495/1.001, allocations: 52.22 kB / 1.118 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004113/1.002, allocations: 476.4 kB / 1.118 GB, free: 12.58 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002899/1.002, allocations: 342 kB / 1.118 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000387/1.002, allocations: 205.9 kB / 1.119 GB, free: 12.33 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.961e-05/1.003, allocations: 349.4 kB / 1.119 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008412/1.003, allocations: 379 kB / 1.119 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001194/1.005, allocations: 0.6983 MB / 1.12 GB, free: 11.7 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001994/1.007, allocations: 0.8342 MB / 1.121 GB, free: 11.65 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/1.007, allocations: 0 / 1.121 GB, free: 11.65 MB / 0.9981 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003439/1.01, allocations: 1.156 MB / 1.122 GB, free: 11.53 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.506e-05/1.01, allocations: 6.344 kB / 1.122 GB, free: 11.53 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.469e-05/1.01, allocations: 1.188 kB / 1.122 GB, free: 11.53 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008754/1.011, allocations: 117.5 kB / 1.122 GB, free: 11.51 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001031/1.012, allocations: 215.5 kB / 1.122 GB, free: 11.51 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003155/1.015, allocations: 2.808 MB / 1.125 GB, free: 9.098 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001439/1.017, allocations: 112.7 kB / 1.125 GB, free: 9.062 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001227/1.017, allocations: 50.61 kB / 1.125 GB, free: 9.062 MB / 0.9981 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.0008446/1.018, allocations: 319.4 kB / 1.125 GB, free: 8.945 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002817/1.018, allocations: 105 kB / 1.125 GB, free: 8.891 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00336/1.021, allocations: 1.334 MB / 1.127 GB, free: 8.785 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-05/1.021, allocations: 13.58 kB / 1.127 GB, free: 8.785 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/1.021, allocations: 1.969 kB / 1.127 GB, free: 8.785 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.028e-05/1.021, allocations: 13.45 kB / 1.127 GB, free: 8.781 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005341/1.027, allocations: 2.314 MB / 1.129 GB, free: 8.395 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.152e-06/1.027, allocations: 1.062 kB / 1.129 GB, free: 8.395 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009433/1.027, allocations: 196.9 kB / 1.129 GB, free: 8.395 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005975/1.028, allocations: 104.3 kB / 1.129 GB, free: 8.379 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.302e-05/1.028, allocations: 27.98 kB / 1.129 GB, free: 8.379 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002495/1.031, allocations: 2.827 MB / 1.132 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/1.031, allocations: 0 / 1.132 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003019/1.034, allocations: 1.274 MB / 1.133 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007587/1.034, allocations: 247.5 kB / 1.134 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001888/1.035, allocations: 30.22 kB / 1.134 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008806/1.036, allocations: 80.78 kB / 1.134 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002567/1.036, allocations: 89 kB / 1.134 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001149/1.036, allocations: 42.98 kB / 1.134 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008825/1.037, allocations: 0.5489 MB / 1.134 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/1.037, allocations: 0 / 1.134 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002054/1.039, allocations: 475.7 kB / 1.135 GB, free: 5.48 MB / 0.9981 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.002625/1.041, allocations: 0.7834 MB / 1.136 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003067/1.045, allocations: 1.15 MB / 1.137 GB, free: 21.04 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/1.045, allocations: 1.625 kB / 1.137 GB, free: 21.04 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001491/1.046, allocations: 0.7201 MB / 1.137 GB, free: 20.81 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001954/1.048, allocations: 354.2 kB / 1.138 GB, free: 20.77 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004348/1.052, allocations: 2.096 MB / 1.14 GB, free: 19.98 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000711/1.053, allocations: 0.5217 MB / 1.14 GB, free: 19.87 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001212/1.054, allocations: 318.6 kB / 1.141 GB, free: 19.81 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000373/1.055, allocations: 126 kB / 1.141 GB, free: 19.8 MB / 1.014 GB Notification: Performance of SimCode: time 1.813e-06/1.055, allocations: 0 / 1.141 GB, free: 19.8 MB / 1.014 GB Notification: Performance of Templates: time 0.03785/1.092, allocations: 20.6 MB / 1.161 GB, free: 17.76 MB / 1.014 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.913387957960367]