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.008656/0.008656, allocations: 101.5 kB / 15.73 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001805/0.001805, allocations: 194.5 kB / 16.67 MB, free: 6.355 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.402/1.402, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.908/2.908, allocations: 472.6 MB / 0.7453 GB, free: 4.617 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 59.91 kB / 1.069 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3484/0.3497, allocations: 159.9 MB / 1.226 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart): time 0.00641/0.3562, allocations: 4.53 MB / 1.23 GB, free: 4.676 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.921/1.277, allocations: 150.6 MB / 1.377 GB, free: 5.723 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001452/1.279, allocations: 23.59 kB / 1.377 GB, free: 5.711 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001086/1.28, allocations: 176.5 kB / 1.377 GB, free: 5.598 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002738/1.283, allocations: 0.5042 MB / 1.378 GB, free: 5.312 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003521/1.286, allocations: 0.7561 MB / 1.378 GB, free: 4.922 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002638/1.289, allocations: 1.248 MB / 1.38 GB, free: 4.281 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001195/1.29, allocations: 0.4957 MB / 1.38 GB, free: 4.012 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009819/1.291, allocations: 402.5 kB / 1.381 GB, free: 3.816 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008296/1.292, allocations: 433.8 kB / 1.381 GB, free: 3.59 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001755/1.292, allocations: 96.59 kB / 1.381 GB, free: 3.59 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001002/1.293, allocations: 401.6 kB / 1.381 GB, free: 3.492 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002957/1.293, allocations: 256.9 kB / 1.382 GB, free: 3.332 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0005426/1.294, allocations: 487.4 kB / 1.382 GB, free: 3.008 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002008/1.296, allocations: 1.416 MB / 1.383 GB, free: 2.062 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/1.296, allocations: 0 / 1.383 GB, free: 2.062 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.844e-06/1.296, allocations: 1.406 kB / 1.383 GB, free: 2.062 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.299e-05/1.296, allocations: 0 / 1.383 GB, free: 2.062 MB / 1.076 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.00221/1.298, allocations: 1.306 MB / 1.385 GB, free: 1.004 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/1.298, allocations: 10.47 kB / 1.385 GB, free: 1.004 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003349/1.299, allocations: 113 kB / 1.385 GB, free: 0.9453 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00115/1.3, allocations: 0.7245 MB / 1.386 GB, free: 356 kB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.269e-05/1.3, allocations: 49.56 kB / 1.386 GB, free: 332 kB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.525e-05/1.3, allocations: 63.44 kB / 1.386 GB, free: 312 kB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001431/1.301, allocations: 0.7747 MB / 1.386 GB, free: 15.77 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.911e-05/1.301, allocations: 1.094 kB / 1.386 GB, free: 15.77 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.926e-05/1.301, allocations: 31.64 kB / 1.386 GB, free: 15.75 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.871e-05/1.301, allocations: 21 kB / 1.387 GB, free: 15.74 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001441/1.303, allocations: 0.9668 MB / 1.387 GB, free: 15.29 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003521/1.306, allocations: 2.478 MB / 1.39 GB, free: 13.26 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001319/1.308, allocations: 0.6755 MB / 1.391 GB, free: 12.91 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004493/1.308, allocations: 249.3 kB / 1.391 GB, free: 12.77 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 8.478e-05/1.308, allocations: 37.97 kB / 1.391 GB, free: 12.75 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007431/1.309, allocations: 426.7 kB / 1.391 GB, free: 12.48 MB / 1.092 GB Notification: Performance of pre-optimization done (n=70): time 2.034e-06/1.309, allocations: 0 / 1.391 GB, free: 12.48 MB / 1.092 GB Notification: Performance of matching and sorting (n=70): time 0.001774/1.311, allocations: 0.8316 MB / 1.392 GB, free: 12.07 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001343/1.311, allocations: 253 kB / 1.392 GB, free: 11.78 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000808/1.312, allocations: 0.6302 MB / 1.393 GB, free: 11.41 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 5.449e-05/1.312, allocations: 43.08 kB / 1.393 GB, free: 11.36 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002795/1.312, allocations: 354.6 kB / 1.393 GB, free: 11.05 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.000179/1.312, allocations: 242.5 kB / 1.393 GB, free: 10.84 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002425/1.313, allocations: 156 kB / 1.394 GB, free: 10.75 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001723/1.313, allocations: 383.8 kB / 1.394 GB, free: 10.38 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004054/1.313, allocations: 222 kB / 1.394 GB, free: 10.27 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000554/1.314, allocations: 335.7 kB / 1.395 GB, free: 10.06 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009254/1.315, allocations: 0.5193 MB / 1.395 GB, free: 9.766 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/1.315, allocations: 0 / 1.395 GB, free: 9.766 MB / 1.092 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001264/1.316, allocations: 0.6859 MB / 1.396 GB, free: 9.422 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/1.316, allocations: 7.781 kB / 1.396 GB, free: 9.422 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/1.316, allocations: 1.531 kB / 1.396 GB, free: 9.422 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/1.316, allocations: 4.625 kB / 1.396 GB, free: 9.422 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005386/1.317, allocations: 145.4 kB / 1.396 GB, free: 9.387 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.243e-05/1.317, allocations: 8.438 kB / 1.396 GB, free: 9.383 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006197/1.317, allocations: 99.81 kB / 1.396 GB, free: 9.316 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.618e-05/1.317, allocations: 38.42 kB / 1.396 GB, free: 9.301 MB / 1.092 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.0003352/1.318, allocations: 255.9 kB / 1.396 GB, free: 9.098 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001482/1.318, allocations: 81.77 kB / 1.396 GB, free: 9.055 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0017/1.32, allocations: 0.838 MB / 1.397 GB, free: 8.609 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.214e-05/1.32, allocations: 16.92 kB / 1.397 GB, free: 8.602 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/1.32, allocations: 1.188 kB / 1.397 GB, free: 8.602 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.025e-05/1.32, allocations: 7.922 kB / 1.397 GB, free: 8.594 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001235/1.321, allocations: 0.9737 MB / 1.398 GB, free: 7.805 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/1.321, allocations: 0 / 1.398 GB, free: 7.805 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004432/1.321, allocations: 123.8 kB / 1.398 GB, free: 7.777 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.817e-06/1.321, allocations: 4.25 kB / 1.398 GB, free: 7.777 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.575e-05/1.321, allocations: 23.2 kB / 1.398 GB, free: 7.762 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.893e-06/1.321, allocations: 3.812 kB / 1.398 GB, free: 7.762 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/1.321, allocations: 5.688 kB / 1.398 GB, free: 7.758 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001184/1.323, allocations: 0.7354 MB / 1.399 GB, free: 7.355 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003302/1.323, allocations: 261.3 kB / 1.399 GB, free: 7.125 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001099/1.323, allocations: 20.94 kB / 1.399 GB, free: 7.109 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005227/1.324, allocations: 54.88 kB / 1.399 GB, free: 7.082 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000124/1.324, allocations: 61.73 kB / 1.399 GB, free: 7.051 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.696e-05/1.324, allocations: 39.66 kB / 1.399 GB, free: 7.035 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0005934/1.324, allocations: 451.6 kB / 1.4 GB, free: 6.781 MB / 1.092 GB Notification: Performance of sort global known variables: time 3.2e-07/1.324, allocations: 0 / 1.4 GB, free: 6.781 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0008693/1.325, allocations: 275.6 kB / 1.4 GB, free: 6.703 MB / 1.092 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.001437/1.327, allocations: 0.6091 MB / 1.401 GB, free: 6.418 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001057/1.328, allocations: 0.5844 MB / 1.401 GB, free: 6.164 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/1.328, allocations: 1.031 kB / 1.401 GB, free: 6.164 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0005094/1.328, allocations: 324.8 kB / 1.402 GB, free: 6.027 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001116/1.329, allocations: 280 kB / 1.402 GB, free: 5.883 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002499/1.332, allocations: 1.443 MB / 1.403 GB, free: 4.996 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005459/1.332, allocations: 0.979 MB / 1.404 GB, free: 4.176 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0006965/1.333, allocations: 249.6 kB / 1.404 GB, free: 4.051 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002312/1.333, allocations: 97.92 kB / 1.405 GB, free: 4.02 MB / 1.092 GB Notification: Performance of SimCode: time 6.91e-07/1.333, allocations: 0 / 1.405 GB, free: 4.02 MB / 1.092 GB Notification: Performance of Templates: time 0.02089/1.354, allocations: 12.86 MB / 1.417 GB, free: 10.1 MB / 1.107 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