Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_usingTwoYearDataPositiveStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.TDryBul",fileNamePrefix="Buildings_9_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_9_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.001631/0.001631, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002134/0.002134, allocations: 195.9 kB / 16.25 MB, free: 6.629 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.591/1.591, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.417/2.417, allocations: 390.2 MB / 0.6643 GB, free: 0.5234 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001419, allocations: 59.91 kB / 0.812 GB, free: 14.76 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7049/0.7064, allocations: 140.4 MB / 0.9491 GB, free: 9.312 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart): time 0.004973/0.7114, allocations: 4.278 MB / 0.9533 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1829/0.8943, allocations: 148.3 MB / 1.098 GB, free: 9.066 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00121/0.8956, allocations: 11.94 kB / 1.098 GB, free: 9.055 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000909/0.8965, allocations: 131 kB / 1.098 GB, free: 8.926 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002331/0.8989, allocations: 439.5 kB / 1.099 GB, free: 8.496 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002134/0.901, allocations: 0.6724 MB / 1.099 GB, free: 7.832 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001756/0.9028, allocations: 1.207 MB / 1.1 GB, free: 6.621 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009101/0.9037, allocations: 0.4945 MB / 1.101 GB, free: 6.113 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006946/0.9044, allocations: 410.5 kB / 1.101 GB, free: 5.711 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000642/0.9051, allocations: 426.1 kB / 1.102 GB, free: 5.293 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002189/0.9053, allocations: 96 kB / 1.102 GB, free: 5.199 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008761/0.9062, allocations: 375.7 kB / 1.102 GB, free: 4.832 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003509/0.9066, allocations: 255.1 kB / 1.102 GB, free: 4.582 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0006192/0.9072, allocations: 481.5 kB / 1.103 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002133/0.9093, allocations: 1.355 MB / 1.104 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.9094, allocations: 0 / 1.104 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.964e-06/0.9094, allocations: 0 / 1.104 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.726e-05/0.9094, allocations: 0 / 1.104 GB, free: 2.75 MB / 0.8575 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.002733/0.9122, allocations: 1.273 MB / 1.105 GB, free: 1.426 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.9122, allocations: 12.03 kB / 1.106 GB, free: 1.414 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003406/0.9126, allocations: 103.7 kB / 1.106 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000943/0.9135, allocations: 0.6955 MB / 1.106 GB, free: 0.5703 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.83e-05/0.9136, allocations: 57.98 kB / 1.106 GB, free: 0.5156 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.645e-05/0.9137, allocations: 68 kB / 1.106 GB, free: 460 kB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001227/0.9149, allocations: 0.772 MB / 1.107 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.819e-05/0.9149, allocations: 0 / 1.107 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.113e-05/0.915, allocations: 32 kB / 1.107 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.86e-05/0.915, allocations: 16 kB / 1.107 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001381/0.9164, allocations: 0.9728 MB / 1.108 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00359/0.92, allocations: 2.486 MB / 1.111 GB, free: 12.03 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001165/0.9212, allocations: 0.6838 MB / 1.111 GB, free: 11.32 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003868/0.9216, allocations: 251.3 kB / 1.111 GB, free: 11.07 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 7.321e-05/0.9217, allocations: 24.53 kB / 1.112 GB, free: 11.05 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007787/0.9225, allocations: 426.3 kB / 1.112 GB, free: 10.61 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=70): time 3.256e-06/0.9225, allocations: 0 / 1.112 GB, free: 10.61 MB / 0.8731 GB Notification: Performance of matching and sorting (n=70): time 0.001631/0.9241, allocations: 0.8389 MB / 1.113 GB, free: 9.773 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001428/0.9243, allocations: 243.8 kB / 1.113 GB, free: 9.477 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008667/0.9252, allocations: 0.633 MB / 1.114 GB, free: 8.832 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7.043e-05/0.9252, allocations: 37.7 kB / 1.114 GB, free: 8.789 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003791/0.9256, allocations: 360.5 kB / 1.114 GB, free: 8.434 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002308/0.9259, allocations: 228.8 kB / 1.114 GB, free: 8.207 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002578/0.9262, allocations: 154.5 kB / 1.114 GB, free: 8.051 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001938/0.9264, allocations: 382.8 kB / 1.115 GB, free: 7.668 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004088/0.9268, allocations: 225.9 kB / 1.115 GB, free: 7.445 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005226/0.9273, allocations: 333.3 kB / 1.115 GB, free: 7.098 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008891/0.9282, allocations: 0.5173 MB / 1.116 GB, free: 6.562 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.9282, allocations: 0 / 1.116 GB, free: 6.562 MB / 0.8731 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001231/0.9295, allocations: 0.6877 MB / 1.116 GB, free: 5.867 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.372e-05/0.9295, allocations: 6.031 kB / 1.116 GB, free: 5.863 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/0.9295, allocations: 4 kB / 1.116 GB, free: 5.859 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.313e-05/0.9295, allocations: 4 kB / 1.116 GB, free: 5.855 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005633/0.9301, allocations: 143.8 kB / 1.117 GB, free: 5.715 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.5e-05/0.9301, allocations: 7.938 kB / 1.117 GB, free: 5.707 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006802/0.9308, allocations: 87.38 kB / 1.117 GB, free: 5.621 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.591e-05/0.9309, allocations: 32.05 kB / 1.117 GB, free: 5.59 MB / 0.8731 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.0004394/0.9313, allocations: 267.3 kB / 1.117 GB, free: 5.32 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002078/0.9316, allocations: 79.06 kB / 1.117 GB, free: 5.242 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00168/0.9332, allocations: 0.8409 MB / 1.118 GB, free: 4.391 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.171e-05/0.9333, allocations: 8.109 kB / 1.118 GB, free: 4.383 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.385e-06/0.9333, allocations: 7.875 kB / 1.118 GB, free: 4.375 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.064e-05/0.9333, allocations: 7.969 kB / 1.118 GB, free: 4.367 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00129/0.9346, allocations: 0.9636 MB / 1.119 GB, free: 3.344 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.448e-06/0.9346, allocations: 4 kB / 1.119 GB, free: 3.34 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004451/0.9351, allocations: 131.8 kB / 1.119 GB, free: 3.211 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.639e-05/0.9351, allocations: 3.938 kB / 1.119 GB, free: 3.207 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.363e-05/0.9352, allocations: 19.98 kB / 1.119 GB, free: 3.188 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.437e-06/0.9352, allocations: 7.984 kB / 1.119 GB, free: 3.18 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.9352, allocations: 0 / 1.119 GB, free: 3.18 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001189/0.9364, allocations: 0.7277 MB / 1.12 GB, free: 2.43 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003457/0.9367, allocations: 255.8 kB / 1.12 GB, free: 2.16 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001457/0.9369, allocations: 27.98 kB / 1.12 GB, free: 2.133 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00055/0.9374, allocations: 52.64 kB / 1.12 GB, free: 2.082 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001383/0.9376, allocations: 60.56 kB / 1.12 GB, free: 2.02 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.351e-05/0.9377, allocations: 31.92 kB / 1.12 GB, free: 1.988 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.00059/0.9383, allocations: 459 kB / 1.121 GB, free: 1.543 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9383, allocations: 0 / 1.121 GB, free: 1.543 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0008298/0.9391, allocations: 267.4 kB / 1.121 GB, free: 1.281 MB / 0.8731 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.001579/0.9407, allocations: 0.6079 MB / 1.121 GB, free: 0.8438 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001639/0.9423, allocations: 0.759 MB / 1.122 GB, free: 88 kB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.9424, allocations: 0 / 1.122 GB, free: 88 kB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.000518/0.9429, allocations: 323.6 kB / 1.122 GB, free: 15.77 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001218/0.9441, allocations: 273.2 kB / 1.123 GB, free: 15.54 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002934/0.9471, allocations: 1.761 MB / 1.124 GB, free: 13.75 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006697/0.9477, allocations: 0.9757 MB / 1.125 GB, free: 12.74 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0008591/0.9486, allocations: 250.2 kB / 1.126 GB, free: 12.49 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002415/0.9489, allocations: 103.4 kB / 1.126 GB, free: 12.39 MB / 0.8887 GB Notification: Performance of SimCode: time 1.252e-06/0.9489, allocations: 0 / 1.126 GB, free: 12.39 MB / 0.8887 GB Notification: Performance of Templates: time 0.02226/0.9711, allocations: 12.29 MB / 1.138 GB, free: 276 kB / 0.8887 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataPositiveStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches