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.001756/0.001756, allocations: 79.73 kB / 19.76 MB, free: 2.031 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.002155/0.002155, allocations: 157.6 kB / 23.01 MB, free: 4.941 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.416/1.416, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.657/2.657, allocations: 359.1 MB / 0.6044 GB, free: 14.84 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002085/0.002085, allocations: 71.91 kB / 0.9515 GB, free: 12.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3022/0.3043, allocations: 169.9 MB / 1.117 GB, free: 2.52 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.7062/1.011, allocations: 135.9 MB / 1.25 GB, free: 4.445 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.01729/1.028, allocations: 9.958 MB / 1.26 GB, free: 13.78 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001494/1.029, allocations: 25.69 kB / 1.26 GB, free: 13.77 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001204/1.031, allocations: 284.2 kB / 1.26 GB, free: 13.59 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.003925/1.034, allocations: 1.017 MB / 1.261 GB, free: 13.04 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.003651/1.038, allocations: 1.103 MB / 1.262 GB, free: 12.46 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.003001/1.041, allocations: 1.754 MB / 1.264 GB, free: 11.57 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001717/1.043, allocations: 0.9191 MB / 1.265 GB, free: 11.11 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002305/1.045, allocations: 0.762 MB / 1.266 GB, free: 10.75 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001226/1.046, allocations: 0.5869 MB / 1.266 GB, free: 10.48 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0003558/1.047, allocations: 137 kB / 1.266 GB, free: 10.48 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00279/1.049, allocations: 1.018 MB / 1.267 GB, free: 10.21 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0004825/1.05, allocations: 390.2 kB / 1.268 GB, free: 9.977 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.00082/1.051, allocations: 0.5452 MB / 1.268 GB, free: 9.66 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.004488/1.055, allocations: 2.273 MB / 1.27 GB, free: 8.762 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/1.055, allocations: 0.6562 kB / 1.27 GB, free: 8.762 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.255e-06/1.055, allocations: 4 kB / 1.27 GB, free: 8.758 MB / 1.123 GB Notification: Performance of Transformations before backend: time 3.981e-05/1.055, allocations: 1.094 kB / 1.27 GB, free: 8.758 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.004099/1.059, allocations: 1.705 MB / 1.272 GB, free: 7.664 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/1.059, allocations: 9.219 kB / 1.272 GB, free: 7.664 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002332/1.062, allocations: 318.2 kB / 1.272 GB, free: 7.578 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001762/1.064, allocations: 0.8567 MB / 1.273 GB, free: 7.062 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.91e-05/1.064, allocations: 77.38 kB / 1.273 GB, free: 7.023 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001447/1.064, allocations: 92.12 kB / 1.273 GB, free: 6.996 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00252/1.066, allocations: 1.485 MB / 1.275 GB, free: 6.055 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.612e-05/1.066, allocations: 1.094 kB / 1.275 GB, free: 6.055 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001092/1.066, allocations: 46.8 kB / 1.275 GB, free: 6.02 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.408e-05/1.066, allocations: 24.03 kB / 1.275 GB, free: 6.02 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002471/1.069, allocations: 1.271 MB / 1.276 GB, free: 5.711 MB / 1.123 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.005985/1.075, allocations: 2.567 MB / 1.279 GB, free: 4.277 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002177/1.077, allocations: 0.9817 MB / 1.28 GB, free: 3.91 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008328/1.078, allocations: 386.5 kB / 1.28 GB, free: 3.77 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002273/1.078, allocations: 54.7 kB / 1.28 GB, free: 3.762 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001401/1.08, allocations: 0.8485 MB / 1.281 GB, free: 3.234 MB / 1.123 GB Notification: Performance of pre-optimization done (n=95): time 2.996e-06/1.08, allocations: 0 / 1.281 GB, free: 3.234 MB / 1.123 GB Notification: Performance of matching and sorting (n=95): time 0.004668/1.084, allocations: 1.485 MB / 1.282 GB, free: 2.711 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001281/1.084, allocations: 192.5 kB / 1.282 GB, free: 2.488 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001207/1.086, allocations: 0.7657 MB / 1.283 GB, free: 2.172 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001139/1.086, allocations: 51.33 kB / 1.283 GB, free: 2.121 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004677/1.086, allocations: 481.2 kB / 1.284 GB, free: 1.75 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003283/1.086, allocations: 327.7 kB / 1.284 GB, free: 1.492 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003288/1.087, allocations: 189.5 kB / 1.284 GB, free: 1.406 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001829/1.087, allocations: 342 kB / 1.285 GB, free: 1.086 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008094/1.088, allocations: 355.1 kB / 1.285 GB, free: 0.9688 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001082/1.089, allocations: 0.6682 MB / 1.286 GB, free: 0.5078 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001674/1.091, allocations: 0.7882 MB / 1.286 GB, free: 172 kB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/1.091, allocations: 1.312 kB / 1.286 GB, free: 172 kB / 1.123 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002942/1.094, allocations: 1.085 MB / 1.287 GB, free: 15.74 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/1.094, allocations: 5.438 kB / 1.287 GB, free: 15.74 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.128e-06/1.094, allocations: 6.266 kB / 1.287 GB, free: 15.74 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008103/1.094, allocations: 117.1 kB / 1.287 GB, free: 15.7 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001018/1.095, allocations: 210.6 kB / 1.288 GB, free: 15.68 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003475/1.099, allocations: 2.797 MB / 1.29 GB, free: 13.05 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001094/1.1, allocations: 113.9 kB / 1.291 GB, free: 13 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001027/1.1, allocations: 49.22 kB / 1.291 GB, free: 12.98 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,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 (108): * Single equations (assignments): 106 * 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.0006778/1.101, allocations: 308.5 kB / 1.291 GB, free: 12.77 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002821/1.101, allocations: 102.3 kB / 1.291 GB, free: 12.71 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003398/1.104, allocations: 1.306 MB / 1.292 GB, free: 12.21 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.205e-05/1.104, allocations: 13.88 kB / 1.292 GB, free: 12.21 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.256e-06/1.104, allocations: 1.188 kB / 1.292 GB, free: 12.21 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.646e-05/1.104, allocations: 6.938 kB / 1.292 GB, free: 12.2 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004782/1.109, allocations: 2.123 MB / 1.294 GB, free: 11.24 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/1.109, allocations: 0.875 kB / 1.294 GB, free: 11.24 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008815/1.11, allocations: 195 kB / 1.295 GB, free: 11.22 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005942/1.111, allocations: 103 kB / 1.295 GB, free: 11.19 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.192e-05/1.111, allocations: 25.84 kB / 1.295 GB, free: 11.18 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003226/1.114, allocations: 2.841 MB / 1.297 GB, free: 8.508 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/1.114, allocations: 0.9375 kB / 1.297 GB, free: 8.508 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002985/1.117, allocations: 1.24 MB / 1.299 GB, free: 7.957 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000642/1.118, allocations: 246.6 kB / 1.299 GB, free: 7.816 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002204/1.118, allocations: 24.38 kB / 1.299 GB, free: 7.801 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001005/1.119, allocations: 76.12 kB / 1.299 GB, free: 7.785 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001872/1.119, allocations: 83.56 kB / 1.299 GB, free: 7.773 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001157/1.119, allocations: 46.12 kB / 1.299 GB, free: 7.766 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0008843/1.12, allocations: 0.5448 MB / 1.3 GB, free: 7.539 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.3e-07/1.12, allocations: 4 kB / 1.3 GB, free: 7.535 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001618/1.122, allocations: 469.6 kB / 1.3 GB, free: 7.41 MB / 1.139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.002704/1.124, allocations: 0.7371 MB / 1.301 GB, free: 7.129 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.002574/1.127, allocations: 1.114 MB / 1.302 GB, free: 6.621 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/1.127, allocations: 7.312 kB / 1.302 GB, free: 6.617 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001378/1.128, allocations: 0.7014 MB / 1.303 GB, free: 6.242 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001709/1.13, allocations: 349.9 kB / 1.303 GB, free: 6.078 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004268/1.134, allocations: 2.07 MB / 1.305 GB, free: 4.867 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006715/1.135, allocations: 0.5151 MB / 1.305 GB, free: 4.578 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.001075/1.136, allocations: 306 kB / 1.306 GB, free: 4.426 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003392/1.136, allocations: 123 kB / 1.306 GB, free: 4.387 MB / 1.139 GB Notification: Performance of SimCode: time 8.02e-07/1.136, allocations: 4 kB / 1.306 GB, free: 4.383 MB / 1.139 GB Notification: Performance of Templates: time 0.03899/1.175, allocations: 20.21 MB / 1.326 GB, free: 2.59 MB / 1.154 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 -s ida -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/jenkins1/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.605638634995557]