Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_usingTwoYearDataNegativeStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.TDryBul",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart") translateModel(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.TDryBul",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001242/0.001242, allocations: 108 kB / 15.61 MB, free: 152 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.001129/0.001129, allocations: 194.1 kB / 16.53 MB, free: 6.664 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.372/1.372, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.841/2.841, allocations: 437 MB / 0.7103 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001467/0.001467, allocations: 63.91 kB / 0.8692 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6951/0.6966, allocations: 151.6 MB / 1.017 GB, free: 2.527 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart): time 0.007559/0.7042, allocations: 4.528 MB / 1.022 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1695/0.8737, allocations: 150.5 MB / 1.169 GB, free: 6.848 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008985/0.8746, allocations: 15.94 kB / 1.169 GB, free: 6.832 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0005735/0.8752, allocations: 178.3 kB / 1.169 GB, free: 6.656 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0017/0.877, allocations: 0.5009 MB / 1.169 GB, free: 6.156 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001719/0.8787, allocations: 0.7635 MB / 1.17 GB, free: 5.398 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001169/0.8799, allocations: 1.242 MB / 1.171 GB, free: 4.152 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007948/0.8807, allocations: 0.4909 MB / 1.172 GB, free: 3.641 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005702/0.8813, allocations: 406.6 kB / 1.172 GB, free: 3.242 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000493/0.8818, allocations: 430.1 kB / 1.173 GB, free: 2.82 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001448/0.8819, allocations: 100 kB / 1.173 GB, free: 2.723 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007428/0.8827, allocations: 375.7 kB / 1.173 GB, free: 2.355 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002614/0.883, allocations: 255.2 kB / 1.173 GB, free: 2.105 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0004204/0.8834, allocations: 489.5 kB / 1.174 GB, free: 1.625 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001398/0.8848, allocations: 1.371 MB / 1.175 GB, free: 256 kB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.8848, allocations: 0 / 1.175 GB, free: 256 kB / 0.92 GB Notification: Performance of FrontEnd: time 1.383e-06/0.8848, allocations: 3.938 kB / 1.175 GB, free: 252 kB / 0.92 GB Notification: Performance of Transformations before backend: time 1.229e-05/0.8848, allocations: 0 / 1.175 GB, free: 252 kB / 0.92 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.002496/0.8873, allocations: 1.265 MB / 1.176 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 6.228e-05/0.8874, allocations: 15.97 kB / 1.176 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00039/0.8878, allocations: 107.7 kB / 1.176 GB, free: 14.81 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001036/0.8888, allocations: 0.6916 MB / 1.177 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.074e-05/0.8889, allocations: 50 kB / 1.177 GB, free: 14.03 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.435e-05/0.889, allocations: 67.98 kB / 1.177 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001222/0.8902, allocations: 0.7876 MB / 1.178 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.821e-05/0.8903, allocations: 0 / 1.178 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.658e-05/0.8903, allocations: 28 kB / 1.178 GB, free: 13.1 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.874e-05/0.8904, allocations: 16 kB / 1.178 GB, free: 13.08 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001436/0.8918, allocations: 0.9767 MB / 1.179 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003565/0.8954, allocations: 2.476 MB / 1.181 GB, free: 9.543 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001112/0.8965, allocations: 0.6916 MB / 1.182 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003673/0.8969, allocations: 255.2 kB / 1.182 GB, free: 8.574 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 6.209e-05/0.897, allocations: 24.53 kB / 1.182 GB, free: 8.551 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006108/0.8976, allocations: 419.6 kB / 1.183 GB, free: 8.125 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=70): time 2.013e-06/0.8976, allocations: 4 kB / 1.183 GB, free: 8.121 MB / 0.9356 GB Notification: Performance of matching and sorting (n=70): time 0.001439/0.899, allocations: 0.8376 MB / 1.184 GB, free: 7.281 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001222/0.8992, allocations: 243.8 kB / 1.184 GB, free: 6.984 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007106/0.8999, allocations: 0.6254 MB / 1.184 GB, free: 6.352 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.245e-05/0.8999, allocations: 41.7 kB / 1.184 GB, free: 6.305 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002746/0.9002, allocations: 360.3 kB / 1.185 GB, free: 5.949 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001625/0.9004, allocations: 224.8 kB / 1.185 GB, free: 5.727 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000206/0.9006, allocations: 154.6 kB / 1.185 GB, free: 5.57 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001665/0.9008, allocations: 390.7 kB / 1.186 GB, free: 5.18 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000354/0.9011, allocations: 222 kB / 1.186 GB, free: 4.961 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004655/0.9016, allocations: 337.3 kB / 1.186 GB, free: 4.609 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007559/0.9024, allocations: 0.5173 MB / 1.187 GB, free: 4.074 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.9024, allocations: 0 / 1.187 GB, free: 4.074 MB / 0.9356 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001054/0.9035, allocations: 0.6799 MB / 1.187 GB, free: 3.387 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.9035, allocations: 8.156 kB / 1.187 GB, free: 3.379 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.9035, allocations: 4 kB / 1.187 GB, free: 3.375 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.9035, allocations: 4 kB / 1.187 GB, free: 3.371 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005058/0.904, allocations: 147.7 kB / 1.187 GB, free: 3.227 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.201e-05/0.904, allocations: 7.938 kB / 1.187 GB, free: 3.219 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005549/0.9046, allocations: 85.11 kB / 1.188 GB, free: 3.137 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.78e-05/0.9047, allocations: 35.97 kB / 1.188 GB, free: 3.102 MB / 0.9356 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.0003123/0.905, allocations: 259.4 kB / 1.188 GB, free: 2.84 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001358/0.9051, allocations: 79.05 kB / 1.188 GB, free: 2.762 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001484/0.9066, allocations: 0.8563 MB / 1.189 GB, free: 1.895 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/0.9067, allocations: 8 kB / 1.189 GB, free: 1.887 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.9067, allocations: 3.938 kB / 1.189 GB, free: 1.883 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.096e-05/0.9067, allocations: 7.984 kB / 1.189 GB, free: 1.875 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001008/0.9077, allocations: 0.9559 MB / 1.19 GB, free: 0.8594 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.9077, allocations: 0 / 1.19 GB, free: 0.8594 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004121/0.9081, allocations: 123.8 kB / 1.19 GB, free: 0.7383 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.494e-06/0.9081, allocations: 7.938 kB / 1.19 GB, free: 0.7305 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.144e-05/0.9082, allocations: 32 kB / 1.19 GB, free: 0.6992 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/0.9082, allocations: 4 kB / 1.19 GB, free: 0.6953 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.9082, allocations: 0 / 1.19 GB, free: 0.6953 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001069/0.9093, allocations: 0.7354 MB / 1.191 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002842/0.9096, allocations: 259.8 kB / 1.191 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001105/0.9097, allocations: 20 kB / 1.191 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004804/0.9102, allocations: 55.94 kB / 1.191 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001199/0.9103, allocations: 60.56 kB / 1.191 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.182e-05/0.9104, allocations: 27.98 kB / 1.191 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0005285/0.9109, allocations: 459 kB / 1.191 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9109, allocations: 0 / 1.191 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0007282/0.9117, allocations: 271.5 kB / 1.192 GB, free: 14.79 MB / 0.9512 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.001352/0.913, allocations: 0.6154 MB / 1.192 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001458/0.9145, allocations: 0.7551 MB / 1.193 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.9145, allocations: 3.984 kB / 1.193 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0004627/0.915, allocations: 323.6 kB / 1.193 GB, free: 13.28 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001067/0.916, allocations: 273.2 kB / 1.194 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002278/0.9183, allocations: 1.448 MB / 1.195 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005684/0.9189, allocations: 0.9758 MB / 1.196 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0006638/0.9196, allocations: 250.2 kB / 1.196 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002046/0.9198, allocations: 99.39 kB / 1.196 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of SimCode: time 2.61e-07/0.9198, allocations: 0 / 1.196 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of Templates: time 0.02303/0.9428, allocations: 12.72 MB / 1.209 GB, free: 13.66 MB / 0.9669 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.sim & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataNegativeStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches