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.001853/0.001853, allocations: 83.69 kB / 20.23 MB, free: 4.184 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.001985/0.001985, allocations: 157.3 kB / 23.55 MB, free: 0.8633 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.541/1.541, allocations: 177.1 MB / 203.9 MB, free: 5.617 MB / 186.7 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.96/2.96, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 176] 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 2.165e-06/2.165e-06, allocations: 0 / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.496e-05/3.712e-05, allocations: 5.406 kB / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.2175/0.2175, allocations: 149.9 MB / 0.9328 GB, free: 6.355 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.01835/0.2359, allocations: 10.8 MB / 0.9433 GB, free: 11.52 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009579/0.2368, allocations: 27.75 kB / 0.9434 GB, free: 11.5 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.001008/0.2379, allocations: 293.5 kB / 0.9437 GB, free: 11.21 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.003146/0.241, allocations: 1.014 MB / 0.9446 GB, free: 10.19 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.002928/0.2439, allocations: 1.122 MB / 0.9457 GB, free: 9.062 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.002769/0.2467, allocations: 1.818 MB / 0.9475 GB, free: 7.234 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001754/0.2485, allocations: 0.9752 MB / 0.9485 GB, free: 6.234 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002815/0.2513, allocations: 1.078 MB / 0.9495 GB, free: 5.191 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009332/0.2522, allocations: 0.518 MB / 0.95 GB, free: 4.672 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.0002541/0.2525, allocations: 143.9 kB / 0.9502 GB, free: 4.531 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002332/0.2548, allocations: 1.025 MB / 0.9512 GB, free: 3.504 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0004558/0.2552, allocations: 406.7 kB / 0.9516 GB, free: 3.105 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.0006711/0.2559, allocations: 470.8 kB / 0.952 GB, free: 2.645 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.003902/0.2598, allocations: 2.473 MB / 0.9544 GB, free: 168 kB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2598, allocations: 0 / 0.9544 GB, free: 168 kB / 0.9011 GB Notification: Performance of FrontEnd: time 1.242e-06/0.2598, allocations: 0 / 0.9544 GB, free: 168 kB / 0.9011 GB Notification: Performance of Transformations before backend: time 1.864e-05/0.2598, allocations: 0 / 0.9544 GB, free: 168 kB / 0.9011 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.003657/0.2635, allocations: 1.909 MB / 0.9563 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.2635, allocations: 8.031 kB / 0.9563 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002324/0.2659, allocations: 454.1 kB / 0.9567 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001772/0.2676, allocations: 0.8487 MB / 0.9575 GB, free: 12.87 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.617e-05/0.2677, allocations: 89.92 kB / 0.9576 GB, free: 12.78 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001787/0.2679, allocations: 107.9 kB / 0.9577 GB, free: 12.68 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002426/0.2703, allocations: 1.493 MB / 0.9592 GB, free: 11.04 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.826e-05/0.2704, allocations: 4 kB / 0.9592 GB, free: 11.04 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001084/0.2705, allocations: 40 kB / 0.9592 GB, free: 11 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.541e-05/0.2705, allocations: 24 kB / 0.9593 GB, free: 10.97 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002307/0.2728, allocations: 1.147 MB / 0.9604 GB, free: 9.824 MB / 0.9167 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.006698/0.2795, allocations: 3.511 MB / 0.9638 GB, free: 6.215 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001975/0.2815, allocations: 0.881 MB / 0.9647 GB, free: 5.328 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007266/0.2822, allocations: 343.6 kB / 0.965 GB, free: 4.988 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002435/0.2825, allocations: 64.95 kB / 0.9651 GB, free: 4.926 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001377/0.2838, allocations: 0.8483 MB / 0.9659 GB, free: 3.996 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=103): time 3.106e-06/0.2838, allocations: 0 / 0.9659 GB, free: 3.996 MB / 0.9167 GB Notification: Performance of matching and sorting (n=103): time 0.004342/0.2882, allocations: 1.354 MB / 0.9672 GB, free: 2.629 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001585/0.2883, allocations: 208.9 kB / 0.9674 GB, free: 2.383 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001397/0.2897, allocations: 0.8901 MB / 0.9683 GB, free: 1.477 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001107/0.2898, allocations: 57.69 kB / 0.9683 GB, free: 1.414 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005669/0.2904, allocations: 0.5548 MB / 0.9689 GB, free: 0.8516 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003941/0.2908, allocations: 373 kB / 0.9692 GB, free: 496 kB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000413/0.2912, allocations: 252.2 kB / 0.9695 GB, free: 232 kB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.000339/0.2916, allocations: 0.5434 MB / 0.97 GB, free: 15.68 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007006/0.2923, allocations: 297.8 kB / 0.9703 GB, free: 15.39 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001066/0.2933, allocations: 0.6698 MB / 0.9709 GB, free: 14.64 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001528/0.2948, allocations: 0.7022 MB / 0.9716 GB, free: 13.92 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.2949, allocations: 0 / 0.9716 GB, free: 13.92 MB / 0.9323 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002784/0.2976, allocations: 1.051 MB / 0.9727 GB, free: 12.85 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.2977, allocations: 8.094 kB / 0.9727 GB, free: 12.84 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.585e-06/0.2977, allocations: 0 / 0.9727 GB, free: 12.84 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001232/0.2989, allocations: 179.2 kB / 0.9728 GB, free: 12.66 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001065/0.3, allocations: 223.7 kB / 0.973 GB, free: 12.44 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004656/0.3046, allocations: 3.871 MB / 0.9768 GB, free: 8.324 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001/0.3056, allocations: 103.4 kB / 0.9769 GB, free: 8.223 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001087/0.3057, allocations: 43.97 kB / 0.977 GB, free: 8.18 MB / 0.9323 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.0005906/0.3063, allocations: 299.2 kB / 0.9772 GB, free: 7.875 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002996/0.3066, allocations: 139.3 kB / 0.9774 GB, free: 7.738 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003093/0.3097, allocations: 1.202 MB / 0.9786 GB, free: 6.516 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.536e-05/0.3097, allocations: 12 kB / 0.9786 GB, free: 6.504 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.3097, allocations: 0 / 0.9786 GB, free: 6.504 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.491e-05/0.3097, allocations: 7.969 kB / 0.9786 GB, free: 6.496 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004958/0.3147, allocations: 2.398 MB / 0.9809 GB, free: 4.035 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.668e-06/0.3147, allocations: 0 / 0.9809 GB, free: 4.035 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008863/0.3156, allocations: 183.8 kB / 0.9811 GB, free: 3.855 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001008/0.3166, allocations: 175.2 kB / 0.9813 GB, free: 3.676 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.535e-05/0.3167, allocations: 27.97 kB / 0.9813 GB, free: 3.648 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004257/0.3209, allocations: 3.889 MB / 0.9851 GB, free: 15.51 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3209, allocations: 0 / 0.9851 GB, free: 15.51 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003006/0.3239, allocations: 1.247 MB / 0.9863 GB, free: 14.23 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006785/0.3246, allocations: 242.9 kB / 0.9865 GB, free: 13.99 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001636/0.3248, allocations: 27.94 kB / 0.9866 GB, free: 13.96 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007206/0.3255, allocations: 58.45 kB / 0.9866 GB, free: 13.91 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002212/0.3257, allocations: 92.77 kB / 0.9867 GB, free: 13.82 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001129/0.3258, allocations: 43.97 kB / 0.9867 GB, free: 13.78 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0008477/0.3267, allocations: 0.5654 MB / 0.9873 GB, free: 13.22 MB / 0.948 GB Notification: Performance of sort global known variables: time 8e-08/0.3267, allocations: 0 / 0.9873 GB, free: 13.22 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001424/0.3281, allocations: 474.9 kB / 0.9878 GB, free: 12.75 MB / 0.948 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.003785/0.3319, allocations: 0.7829 MB / 0.9885 GB, free: 12.18 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002755/0.3347, allocations: 1.185 MB / 0.9897 GB, free: 10.95 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.3347, allocations: 4.594 kB / 0.9897 GB, free: 10.95 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001465/0.3361, allocations: 0.8269 MB / 0.9905 GB, free: 10.08 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001843/0.338, allocations: 397 kB / 0.9909 GB, free: 9.707 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004159/0.3421, allocations: 2.015 MB / 0.9928 GB, free: 7.652 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006327/0.3428, allocations: 0.5124 MB / 0.9933 GB, free: 7.109 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001014/0.3438, allocations: 287.8 kB / 0.9936 GB, free: 6.824 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003694/0.3441, allocations: 128.4 kB / 0.9937 GB, free: 6.699 MB / 0.948 GB Notification: Performance of SimCode: time 1.413e-06/0.3441, allocations: 0 / 0.9937 GB, free: 6.699 MB / 0.948 GB Notification: Performance of Templates: time 0.04076/0.3849, allocations: 20.89 MB / 1.014 GB, free: 2.152 MB / 0.9636 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1) [Timeout 240] 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.156782570062205]