Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.TDryBul",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart") translateModel(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.TDryBul",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 193.8 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.852/2.852, allocations: 472.6 MB / 0.7451 GB, free: 4.625 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 59.05 kB / 0.912 GB, free: 33.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3327/0.334, allocations: 159.9 MB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart): time 0.006141/0.3402, allocations: 4.528 MB / 1.073 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1871/0.5273, allocations: 150.6 MB / 1.22 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001132/0.5285, allocations: 15.94 kB / 1.22 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000758/0.5293, allocations: 178.3 kB / 1.22 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002524/0.5319, allocations: 0.4996 MB / 1.22 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00279/0.5347, allocations: 0.7545 MB / 1.221 GB, free: 13.28 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002206/0.5369, allocations: 1.234 MB / 1.222 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00104/0.538, allocations: 498.6 kB / 1.223 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000594/0.5386, allocations: 418.5 kB / 1.223 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005869/0.5392, allocations: 422.1 kB / 1.224 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001648/0.5393, allocations: 100 kB / 1.224 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008845/0.5402, allocations: 371.7 kB / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002949/0.5405, allocations: 263.1 kB / 1.224 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004808/0.541, allocations: 481.5 kB / 1.225 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001623/0.5427, allocations: 1.367 MB / 1.226 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.5427, allocations: 4 kB / 1.226 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.086e-06/0.5427, allocations: 0 / 1.226 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.35e-05/0.5427, allocations: 4 kB / 1.226 GB, free: 8.137 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.002023/0.5447, allocations: 1.273 MB / 1.227 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.5448, allocations: 12.03 kB / 1.227 GB, free: 6.797 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002946/0.5451, allocations: 111.6 kB / 1.227 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008484/0.5459, allocations: 0.6879 MB / 1.228 GB, free: 5.957 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.479e-05/0.546, allocations: 50 kB / 1.228 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.118e-05/0.5461, allocations: 67.94 kB / 1.228 GB, free: 5.844 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001109/0.5472, allocations: 0.772 MB / 1.229 GB, free: 5.016 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/0.5472, allocations: 3.984 kB / 1.229 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.643e-05/0.5473, allocations: 32 kB / 1.229 GB, free: 4.98 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.559e-05/0.5473, allocations: 20 kB / 1.229 GB, free: 4.961 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001268/0.5486, allocations: 0.9727 MB / 1.23 GB, free: 3.988 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003041/0.5516, allocations: 2.487 MB / 1.232 GB, free: 1.422 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001082/0.5527, allocations: 0.6852 MB / 1.233 GB, free: 0.7266 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000354/0.5531, allocations: 255.3 kB / 1.233 GB, free: 484 kB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.374e-05/0.5532, allocations: 28.5 kB / 1.233 GB, free: 456 kB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006365/0.5538, allocations: 418.3 kB / 1.234 GB, free: 16 kB / 0.9825 GB Notification: Performance of pre-optimization done (n=70): time 2.174e-06/0.5538, allocations: 0 / 1.234 GB, free: 16 kB / 0.9825 GB Notification: Performance of matching and sorting (n=70): time 0.001428/0.5553, allocations: 0.8312 MB / 1.234 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001209/0.5554, allocations: 251.9 kB / 1.235 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006865/0.5561, allocations: 0.6369 MB / 1.235 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.93e-05/0.5561, allocations: 37.7 kB / 1.235 GB, free: 14.19 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002414/0.5564, allocations: 352.5 kB / 1.236 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001541/0.5566, allocations: 232.7 kB / 1.236 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001974/0.5568, allocations: 150.5 kB / 1.236 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.5569, allocations: 382.9 kB / 1.236 GB, free: 13.08 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003461/0.5573, allocations: 229.8 kB / 1.237 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004493/0.5577, allocations: 333.4 kB / 1.237 GB, free: 12.51 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007638/0.5585, allocations: 0.5134 MB / 1.237 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.5585, allocations: 0 / 1.237 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001077/0.5596, allocations: 0.6877 MB / 1.238 GB, free: 11.28 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.5596, allocations: 4 kB / 1.238 GB, free: 11.28 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.5596, allocations: 0 / 1.238 GB, free: 11.28 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.5596, allocations: 11.98 kB / 1.238 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005229/0.5602, allocations: 155.9 kB / 1.238 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.199e-05/0.5602, allocations: 7.938 kB / 1.238 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005821/0.5608, allocations: 89.73 kB / 1.238 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.763e-05/0.5608, allocations: 32.03 kB / 1.238 GB, free: 10.99 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (88): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000333/0.5612, allocations: 259.4 kB / 1.239 GB, free: 10.72 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001302/0.5613, allocations: 75.06 kB / 1.239 GB, free: 10.65 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001466/0.5628, allocations: 0.8446 MB / 1.24 GB, free: 9.789 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.03e-05/0.5628, allocations: 8 kB / 1.24 GB, free: 9.781 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.5628, allocations: 7.938 kB / 1.24 GB, free: 9.773 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/0.5628, allocations: 7.984 kB / 1.24 GB, free: 9.766 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001037/0.5639, allocations: 0.9598 MB / 1.241 GB, free: 8.746 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.5639, allocations: 0 / 1.241 GB, free: 8.746 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004198/0.5643, allocations: 123.8 kB / 1.241 GB, free: 8.625 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.114e-05/0.5643, allocations: 11.94 kB / 1.241 GB, free: 8.613 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.186e-05/0.5644, allocations: 23.98 kB / 1.241 GB, free: 8.59 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.5644, allocations: 4 kB / 1.241 GB, free: 8.586 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.5644, allocations: 0 / 1.241 GB, free: 8.586 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00109/0.5655, allocations: 0.7393 MB / 1.241 GB, free: 7.828 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003225/0.5658, allocations: 255.8 kB / 1.242 GB, free: 7.559 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001218/0.566, allocations: 23.94 kB / 1.242 GB, free: 7.535 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005222/0.5665, allocations: 59.92 kB / 1.242 GB, free: 7.477 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001259/0.5666, allocations: 60.58 kB / 1.242 GB, free: 7.418 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.698e-05/0.5667, allocations: 31.97 kB / 1.242 GB, free: 7.387 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000547/0.5672, allocations: 455 kB / 1.242 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.3e-07/0.5673, allocations: 0 / 1.242 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007734/0.568, allocations: 283.3 kB / 1.243 GB, free: 6.668 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001458/0.5695, allocations: 0.5897 MB / 1.243 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001505/0.571, allocations: 0.759 MB / 1.244 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.571, allocations: 0 / 1.244 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004673/0.5715, allocations: 323.6 kB / 1.244 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001117/0.5726, allocations: 289.3 kB / 1.244 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002564/0.5752, allocations: 1.44 MB / 1.246 GB, free: 3.441 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006194/0.5758, allocations: 0.9758 MB / 1.247 GB, free: 2.438 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0007711/0.5766, allocations: 250.2 kB / 1.247 GB, free: 2.188 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002369/0.5769, allocations: 103.4 kB / 1.247 GB, free: 2.086 MB / 0.9981 GB Notification: Performance of SimCode: time 6.21e-07/0.5769, allocations: 0 / 1.247 GB, free: 2.086 MB / 0.9981 GB Notification: Performance of Templates: time 0.5122/1.089, allocations: 12.72 MB / 1.26 GB, free: 182.9 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataPositiveStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches