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.001838/0.001838, allocations: 93.47 kB / 19.44 MB, free: 336 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.002179/0.002179, allocations: 169.6 kB / 22.76 MB, free: 1.664 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.559/1.559, allocations: 177.1 MB / 203.1 MB, free: 5.617 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.394/3.394, allocations: 429.5 MB / 0.6729 GB, free: 4.008 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.373e-06/1.373e-06, allocations: 0 / 0.8774 GB, free: 6.66 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.931e-05/3.068e-05, allocations: 5.969 kB / 0.8774 GB, free: 6.656 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.2141/0.2141, allocations: 149.9 MB / 1.024 GB, free: 184 kB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.01882/0.233, allocations: 10.77 MB / 1.034 GB, free: 5.379 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000996/0.2339, allocations: 27.75 kB / 1.034 GB, free: 5.352 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.001034/0.235, allocations: 297.5 kB / 1.035 GB, free: 5.059 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.003382/0.2384, allocations: 1.01 MB / 1.036 GB, free: 4.043 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.003001/0.2414, allocations: 1.122 MB / 1.037 GB, free: 2.918 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.002701/0.2441, allocations: 1.803 MB / 1.039 GB, free: 1.109 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001592/0.2457, allocations: 0.9086 MB / 1.039 GB, free: 180 kB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003007/0.2487, allocations: 1.104 MB / 1.041 GB, free: 15.1 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009307/0.2496, allocations: 0.5063 MB / 1.041 GB, free: 14.59 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0002642/0.2499, allocations: 144 kB / 1.041 GB, free: 14.45 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002372/0.2522, allocations: 1.029 MB / 1.042 GB, free: 13.42 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0004788/0.2527, allocations: 410.7 kB / 1.043 GB, free: 13.02 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0007027/0.2534, allocations: 474.8 kB / 1.043 GB, free: 12.55 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.004269/0.2577, allocations: 2.457 MB / 1.045 GB, free: 10.09 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.2577, allocations: 0 / 1.045 GB, free: 10.09 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.694e-06/0.2577, allocations: 0 / 1.045 GB, free: 10.09 MB / 1.01 GB Notification: Performance of Transformations before backend: time 2.876e-05/0.2577, allocations: 0 / 1.045 GB, free: 10.09 MB / 1.01 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.003865/0.2616, allocations: 1.909 MB / 1.047 GB, free: 8.137 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.2616, allocations: 8.031 kB / 1.047 GB, free: 8.129 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002392/0.264, allocations: 450.1 kB / 1.048 GB, free: 7.688 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001809/0.2658, allocations: 0.8487 MB / 1.049 GB, free: 6.809 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.023e-05/0.2659, allocations: 81.98 kB / 1.049 GB, free: 6.727 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001784/0.2661, allocations: 107.9 kB / 1.049 GB, free: 6.621 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002535/0.2686, allocations: 1.489 MB / 1.05 GB, free: 4.988 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.173e-05/0.2687, allocations: 7.984 kB / 1.05 GB, free: 4.98 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001101/0.2688, allocations: 40 kB / 1.05 GB, free: 4.941 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.544e-05/0.2688, allocations: 24 kB / 1.05 GB, free: 4.918 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002336/0.2711, allocations: 1.147 MB / 1.051 GB, free: 3.77 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007098/0.2782, allocations: 3.507 MB / 1.055 GB, free: 164 kB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5079/0.7861, allocations: 0.88 MB / 1.056 GB, free: 219.8 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007487/0.7869, allocations: 349.9 kB / 1.056 GB, free: 219.8 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002517/0.7871, allocations: 62.78 kB / 1.056 GB, free: 219.8 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001154/0.7883, allocations: 0.8393 MB / 1.057 GB, free: 219.4 MB / 1.01 GB Notification: Performance of pre-optimization done (n=103): time 3.437e-06/0.7883, allocations: 0 / 1.057 GB, free: 219.4 MB / 1.01 GB Notification: Performance of matching and sorting (n=103): time 0.004069/0.7924, allocations: 1.356 MB / 1.058 GB, free: 219.2 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.713e-05/0.7924, allocations: 203.1 kB / 1.058 GB, free: 219 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001137/0.7936, allocations: 0.8931 MB / 1.059 GB, free: 218.6 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.000117/0.7937, allocations: 54.55 kB / 1.059 GB, free: 218.5 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003969/0.7941, allocations: 0.5565 MB / 1.06 GB, free: 218.1 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002742/0.7944, allocations: 378 kB / 1.06 GB, free: 217.9 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003357/0.7947, allocations: 242.6 kB / 1.06 GB, free: 217.8 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.7948, allocations: 0.5413 MB / 1.061 GB, free: 217.3 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006064/0.7954, allocations: 299 kB / 1.061 GB, free: 217.2 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007831/0.7962, allocations: 0.6702 MB / 1.062 GB, free: 216.7 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001246/0.7975, allocations: 0.7044 MB / 1.063 GB, free: 216.4 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-06/0.7975, allocations: 3.75 kB / 1.063 GB, free: 216.4 MB / 1.01 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002469/0.7999, allocations: 1.048 MB / 1.064 GB, free: 216 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/0.7999, allocations: 9.719 kB / 1.064 GB, free: 216 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/0.8, allocations: 2.906 kB / 1.064 GB, free: 216 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00119/0.8011, allocations: 176.6 kB / 1.064 GB, free: 216 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009641/0.8021, allocations: 225.3 kB / 1.064 GB, free: 216 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00274/0.8049, allocations: 3.863 MB / 1.068 GB, free: 212.3 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009293/0.8058, allocations: 95.56 kB / 1.068 GB, free: 212.2 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001319/0.8059, allocations: 48.39 kB / 1.068 GB, free: 212.2 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.0005687/0.8065, allocations: 307.2 kB / 1.068 GB, free: 212 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003552/0.8068, allocations: 138.3 kB / 1.068 GB, free: 211.9 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002737/0.8096, allocations: 1.199 MB / 1.07 GB, free: 211.5 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.139e-05/0.8096, allocations: 12.44 kB / 1.07 GB, free: 211.5 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.8096, allocations: 0 / 1.07 GB, free: 211.5 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.237e-05/0.8096, allocations: 6.422 kB / 1.07 GB, free: 211.5 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004484/0.8141, allocations: 2.376 MB / 1.072 GB, free: 210.4 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.619e-05/0.8141, allocations: 3.422 kB / 1.072 GB, free: 210.4 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000798/0.8149, allocations: 190.7 kB / 1.072 GB, free: 210.3 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009199/0.8158, allocations: 169.8 kB / 1.072 GB, free: 210.3 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.804e-05/0.8159, allocations: 29.91 kB / 1.072 GB, free: 210.3 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002627/0.8185, allocations: 3.887 MB / 1.076 GB, free: 206.6 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.8185, allocations: 2.375 kB / 1.076 GB, free: 206.6 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002605/0.8211, allocations: 1.244 MB / 1.077 GB, free: 206 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006317/0.8218, allocations: 238.2 kB / 1.077 GB, free: 205.9 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002485/0.822, allocations: 36.11 kB / 1.077 GB, free: 205.9 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008058/0.8228, allocations: 52.98 kB / 1.078 GB, free: 205.9 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002088/0.823, allocations: 95.53 kB / 1.078 GB, free: 205.8 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001032/0.8231, allocations: 40.89 kB / 1.078 GB, free: 205.8 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0007073/0.8239, allocations: 0.5615 MB / 1.078 GB, free: 205.6 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.8239, allocations: 0 / 1.078 GB, free: 205.6 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001399/0.8252, allocations: 481.5 kB / 1.079 GB, free: 205.5 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.003719/0.829, allocations: 0.7769 MB / 1.079 GB, free: 205.3 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.002087/0.8311, allocations: 1.185 MB / 1.081 GB, free: 204.7 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 5e-06/0.8311, allocations: 2.656 kB / 1.081 GB, free: 204.7 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.001114/0.8322, allocations: 0.8297 MB / 1.081 GB, free: 204.2 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001741/0.8339, allocations: 383.3 kB / 1.082 GB, free: 204.1 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003545/0.8375, allocations: 2.011 MB / 1.084 GB, free: 203.1 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004984/0.838, allocations: 0.5064 MB / 1.084 GB, free: 203 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0009162/0.8389, allocations: 286.9 kB / 1.085 GB, free: 202.9 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003491/0.8392, allocations: 122.9 kB / 1.085 GB, free: 202.8 MB / 1.01 GB Notification: Performance of SimCode: time 1.232e-06/0.8392, allocations: 4 kB / 1.085 GB, free: 202.8 MB / 1.01 GB Notification: Performance of Templates: time 0.03903/0.8783, allocations: 20.76 MB / 1.105 GB, free: 200.4 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1) [Timeout 240] 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: 10.335819264990278]