Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001843/0.001843, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.002912/0.002912, allocations: 161.7 kB / 22.76 MB, free: 1.68 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.486/1.486, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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 3.24/3.24, allocations: 429.6 MB / 0.673 GB, free: 3.867 MB / 0.6355 GB " [Timeout remaining time 176] 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_CpData_Specification,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|winDir.y|nor.pWin|weaDat.winSpe",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.8776 GB, free: 6.488 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.736e-05/2.898e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.484 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.2248/0.2248, allocations: 135.9 MB / 1.01 GB, free: 14.09 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.01919/0.244, allocations: 9.947 MB / 1.02 GB, free: 4.129 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001017/0.245, allocations: 31.75 kB / 1.02 GB, free: 4.098 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.001197/0.2462, allocations: 289.5 kB / 1.02 GB, free: 3.812 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.003687/0.2499, allocations: 1.01 MB / 1.021 GB, free: 2.797 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.003198/0.2531, allocations: 1.122 MB / 1.022 GB, free: 1.672 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.002816/0.2559, allocations: 1.81 MB / 1.024 GB, free: 15.86 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001866/0.2578, allocations: 0.9124 MB / 1.025 GB, free: 14.92 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003137/0.2609, allocations: 1.091 MB / 1.026 GB, free: 13.85 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001155/0.2621, allocations: 0.5063 MB / 1.027 GB, free: 13.34 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0005922/0.2627, allocations: 144 kB / 1.027 GB, free: 13.2 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00272/0.2654, allocations: 1.033 MB / 1.028 GB, free: 12.17 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0006166/0.266, allocations: 402.7 kB / 1.028 GB, free: 11.77 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.001012/0.267, allocations: 470.8 kB / 1.029 GB, free: 11.31 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.004984/0.272, allocations: 2.461 MB / 1.031 GB, free: 8.844 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.272, allocations: 0 / 1.031 GB, free: 8.844 MB / 0.9948 GB Notification: Performance of FrontEnd: time 6.483e-06/0.272, allocations: 7.984 kB / 1.031 GB, free: 8.836 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 5.712e-05/0.2721, allocations: 0 / 1.031 GB, free: 8.836 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.004269/0.2763, allocations: 1.708 MB / 1.033 GB, free: 7.09 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.2764, allocations: 8.031 kB / 1.033 GB, free: 7.082 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002619/0.279, allocations: 466.1 kB / 1.033 GB, free: 6.625 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002021/0.281, allocations: 0.8889 MB / 1.034 GB, free: 5.707 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.23e-05/0.2811, allocations: 74 kB / 1.034 GB, free: 5.633 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002032/0.2813, allocations: 115.9 kB / 1.034 GB, free: 5.52 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002971/0.2843, allocations: 1.506 MB / 1.036 GB, free: 3.883 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.427e-05/0.2843, allocations: 4 kB / 1.036 GB, free: 3.879 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001303/0.2844, allocations: 44 kB / 1.036 GB, free: 3.836 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.027e-05/0.2845, allocations: 24 kB / 1.036 GB, free: 3.812 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002722/0.2872, allocations: 1.28 MB / 1.037 GB, free: 2.531 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006431/0.2936, allocations: 2.65 MB / 1.04 GB, free: 15.82 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002658/0.2963, allocations: 1.014 MB / 1.041 GB, free: 14.81 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009313/0.2972, allocations: 411.7 kB / 1.041 GB, free: 14.41 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002488/0.2975, allocations: 64.89 kB / 1.041 GB, free: 14.34 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001592/0.2991, allocations: 0.8592 MB / 1.042 GB, free: 13.41 MB / 1.01 GB Notification: Performance of pre-optimization done (n=103): time 3.176e-06/0.2991, allocations: 0 / 1.042 GB, free: 13.41 MB / 1.01 GB Notification: Performance of matching and sorting (n=103): time 0.005045/0.3041, allocations: 1.559 MB / 1.043 GB, free: 11.84 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001783/0.3043, allocations: 208.8 kB / 1.044 GB, free: 11.59 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001531/0.3058, allocations: 0.7741 MB / 1.044 GB, free: 10.81 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0001523/0.306, allocations: 53.7 kB / 1.044 GB, free: 10.75 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006049/0.3066, allocations: 477.3 kB / 1.045 GB, free: 10.28 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004138/0.307, allocations: 345 kB / 1.045 GB, free: 9.938 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004083/0.3074, allocations: 202.6 kB / 1.045 GB, free: 9.734 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0002348/0.3076, allocations: 349.9 kB / 1.046 GB, free: 9.387 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009131/0.3085, allocations: 373.8 kB / 1.046 GB, free: 9.023 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001237/0.3098, allocations: 0.6985 MB / 1.047 GB, free: 8.25 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002173/0.312, allocations: 0.8355 MB / 1.048 GB, free: 7.406 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.312, allocations: 0 / 1.048 GB, free: 7.406 MB / 1.01 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003293/0.3153, allocations: 1.186 MB / 1.049 GB, free: 6.203 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.579e-05/0.3153, allocations: 11.98 kB / 1.049 GB, free: 6.191 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.3153, allocations: 0 / 1.049 GB, free: 6.191 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001213/0.3165, allocations: 173.6 kB / 1.049 GB, free: 6.016 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00106/0.3176, allocations: 215.7 kB / 1.049 GB, free: 5.805 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003915/0.3215, allocations: 2.817 MB / 1.052 GB, free: 2.785 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001103/0.3226, allocations: 119.4 kB / 1.052 GB, free: 2.668 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001486/0.3227, allocations: 47.97 kB / 1.052 GB, free: 2.621 MB / 1.01 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.000774/0.3235, allocations: 316.4 kB / 1.052 GB, free: 2.301 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004704/0.324, allocations: 139.3 kB / 1.052 GB, free: 2.164 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003656/0.3276, allocations: 1.333 MB / 1.054 GB, free: 0.8125 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-05/0.3276, allocations: 12 kB / 1.054 GB, free: 0.8008 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.3277, allocations: 0 / 1.054 GB, free: 0.8008 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.361e-05/0.3277, allocations: 7.969 kB / 1.054 GB, free: 0.793 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3664/0.694, allocations: 2.303 MB / 1.056 GB, free: 218.4 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.724e-06/0.694, allocations: 0 / 1.056 GB, free: 218.4 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008237/0.6949, allocations: 196.6 kB / 1.056 GB, free: 218.4 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008804/0.6957, allocations: 155.7 kB / 1.056 GB, free: 218.4 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.425e-05/0.6958, allocations: 29.64 kB / 1.056 GB, free: 218.4 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00228/0.6981, allocations: 2.841 MB / 1.059 GB, free: 215.8 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.6981, allocations: 0 / 1.059 GB, free: 215.8 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002637/0.7007, allocations: 1.307 MB / 1.06 GB, free: 215.3 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005365/0.7013, allocations: 247.1 kB / 1.061 GB, free: 215.3 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000152/0.7014, allocations: 21.81 kB / 1.061 GB, free: 215.2 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008276/0.7023, allocations: 84.17 kB / 1.061 GB, free: 215.2 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001897/0.7024, allocations: 87.97 kB / 1.061 GB, free: 215.2 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.252e-05/0.7025, allocations: 45.11 kB / 1.061 GB, free: 215.2 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0006215/0.7032, allocations: 0.5413 MB / 1.061 GB, free: 215 MB / 1.01 GB Notification: Performance of sort global known variables: time 9e-08/0.7032, allocations: 0.8125 kB / 1.061 GB, free: 215 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001231/0.7044, allocations: 476.8 kB / 1.062 GB, free: 214.9 MB / 1.01 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 (111): * Single equations (assignments): 99 * 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.002628/0.707, allocations: 0.7783 MB / 1.063 GB, free: 214.8 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.002288/0.7093, allocations: 1.16 MB / 1.064 GB, free: 214.3 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.7093, allocations: 0 / 1.064 GB, free: 214.3 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.00111/0.7104, allocations: 0.7158 MB / 1.064 GB, free: 213.9 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001585/0.712, allocations: 393.5 kB / 1.065 GB, free: 213.8 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003502/0.7155, allocations: 2.112 MB / 1.067 GB, free: 212.8 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004815/0.716, allocations: 0.5126 MB / 1.067 GB, free: 212.6 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0009908/0.717, allocations: 319.6 kB / 1.068 GB, free: 212.6 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003367/0.7173, allocations: 123.7 kB / 1.068 GB, free: 212.6 MB / 1.01 GB Notification: Performance of SimCode: time 2.144e-06/0.7173, allocations: 0 / 1.068 GB, free: 212.6 MB / 1.01 GB Notification: Performance of Templates: time 0.03626/0.7536, allocations: 20.69 MB / 1.088 GB, free: 210.2 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside_CpData_Specification.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.767060320009477]