Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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_usingTwoYearData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.TDryBul",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData") translateModel(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.TDryBul",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008958/0.008958, allocations: 100.8 kB / 15.87 MB, free: 5.863 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.002155/0.002155, allocations: 190.8 kB / 16.79 MB, free: 5.805 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.467/1.467, allocations: 222.9 MB / 240.5 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.424/2.424, allocations: 390.2 MB / 0.6649 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 59.89 kB / 0.8125 GB, free: 14.9 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6603/0.6617, allocations: 140.4 MB / 0.9496 GB, free: 9.078 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData): time 0.005686/0.6674, allocations: 4.275 MB / 0.9537 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1639/0.8314, allocations: 148.2 MB / 1.098 GB, free: 9.062 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00109/0.8325, allocations: 19.94 kB / 1.099 GB, free: 9.043 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0008131/0.8334, allocations: 131 kB / 1.099 GB, free: 8.914 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001994/0.8354, allocations: 417.7 kB / 1.099 GB, free: 8.508 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002013/0.8374, allocations: 0.6433 MB / 1.1 GB, free: 7.871 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001486/0.8389, allocations: 1.125 MB / 1.101 GB, free: 6.742 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000897/0.8398, allocations: 0.4945 MB / 1.101 GB, free: 6.234 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000696/0.8406, allocations: 342.5 kB / 1.102 GB, free: 5.898 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007103/0.8413, allocations: 386.1 kB / 1.102 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002327/0.8415, allocations: 47.94 kB / 1.102 GB, free: 5.473 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009355/0.8425, allocations: 315.7 kB / 1.102 GB, free: 5.164 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003086/0.8428, allocations: 211.1 kB / 1.102 GB, free: 4.957 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0005767/0.8434, allocations: 429.4 kB / 1.103 GB, free: 4.535 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001395/0.8448, allocations: 1.021 MB / 1.104 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.8448, allocations: 0 / 1.104 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.056e-06/0.8448, allocations: 0 / 1.104 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.692e-05/0.8449, allocations: 3.938 kB / 1.104 GB, free: 3.508 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.002876/0.8477, allocations: 1.269 MB / 1.105 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.8478, allocations: 12.03 kB / 1.105 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004018/0.8482, allocations: 103.7 kB / 1.105 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001158/0.8494, allocations: 0.6916 MB / 1.106 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.358e-05/0.8494, allocations: 54 kB / 1.106 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.904e-05/0.8495, allocations: 67.98 kB / 1.106 GB, free: 1.219 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00135/0.8509, allocations: 0.776 MB / 1.107 GB, free: 396 kB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.112e-05/0.8509, allocations: 3.938 kB / 1.107 GB, free: 392 kB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.658e-05/0.851, allocations: 32 kB / 1.107 GB, free: 360 kB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.684e-05/0.851, allocations: 16 kB / 1.107 GB, free: 344 kB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001455/0.8525, allocations: 0.9728 MB / 1.108 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003785/0.8563, allocations: 2.481 MB / 1.11 GB, free: 12.8 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001249/0.8576, allocations: 0.6837 MB / 1.111 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004116/0.858, allocations: 255.2 kB / 1.111 GB, free: 11.84 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 7.217e-05/0.8581, allocations: 28.52 kB / 1.111 GB, free: 11.81 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007952/0.8589, allocations: 418.3 kB / 1.112 GB, free: 11.38 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=70): time 2.815e-06/0.8589, allocations: 3.938 kB / 1.112 GB, free: 11.38 MB / 0.8731 GB Notification: Performance of matching and sorting (n=70): time 0.001743/0.8606, allocations: 0.8389 MB / 1.112 GB, free: 10.54 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002114/0.8609, allocations: 251.8 kB / 1.113 GB, free: 10.23 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008963/0.8618, allocations: 0.6291 MB / 1.113 GB, free: 9.594 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7.283e-05/0.8619, allocations: 37.7 kB / 1.113 GB, free: 9.551 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002921/0.8622, allocations: 356.5 kB / 1.114 GB, free: 9.199 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001926/0.8624, allocations: 228.7 kB / 1.114 GB, free: 8.973 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002385/0.8626, allocations: 154.7 kB / 1.114 GB, free: 8.816 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001632/0.8628, allocations: 386.8 kB / 1.114 GB, free: 8.43 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000454/0.8632, allocations: 221.9 kB / 1.115 GB, free: 8.211 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005083/0.8638, allocations: 337.3 kB / 1.115 GB, free: 7.859 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008492/0.8646, allocations: 0.5212 MB / 1.115 GB, free: 7.32 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.8646, allocations: 112 / 1.115 GB, free: 7.32 MB / 0.8731 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001245/0.8659, allocations: 0.6877 MB / 1.116 GB, free: 6.625 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.8659, allocations: 8.031 kB / 1.116 GB, free: 6.617 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.8659, allocations: 4 kB / 1.116 GB, free: 6.613 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.346e-05/0.866, allocations: 4 kB / 1.116 GB, free: 6.609 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005751/0.8665, allocations: 143.7 kB / 1.116 GB, free: 6.469 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.736e-05/0.8666, allocations: 7.938 kB / 1.116 GB, free: 6.461 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006507/0.8672, allocations: 87.45 kB / 1.116 GB, free: 6.375 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-05/0.8673, allocations: 35.97 kB / 1.116 GB, free: 6.34 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.0004101/0.8677, allocations: 259.4 kB / 1.117 GB, free: 6.078 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002093/0.8679, allocations: 83.05 kB / 1.117 GB, free: 5.996 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001651/0.8696, allocations: 0.8485 MB / 1.117 GB, free: 5.137 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.116e-05/0.8696, allocations: 8 kB / 1.117 GB, free: 5.129 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/0.8696, allocations: 3.938 kB / 1.118 GB, free: 5.125 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.809e-06/0.8697, allocations: 3.984 kB / 1.118 GB, free: 5.121 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001365/0.871, allocations: 0.9559 MB / 1.118 GB, free: 4.105 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.616e-06/0.871, allocations: 8 kB / 1.118 GB, free: 4.098 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004668/0.8715, allocations: 127.8 kB / 1.119 GB, free: 3.973 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.061e-05/0.8715, allocations: 7.969 kB / 1.119 GB, free: 3.965 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.13e-05/0.8716, allocations: 19.98 kB / 1.119 GB, free: 3.945 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.033e-06/0.8716, allocations: 4 kB / 1.119 GB, free: 3.941 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.8716, allocations: 0 / 1.119 GB, free: 3.941 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001261/0.8729, allocations: 0.7355 MB / 1.119 GB, free: 3.184 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003648/0.8733, allocations: 263.8 kB / 1.12 GB, free: 2.906 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001422/0.8734, allocations: 16 kB / 1.12 GB, free: 2.891 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005358/0.874, allocations: 57.81 kB / 1.12 GB, free: 2.836 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001372/0.8741, allocations: 60.56 kB / 1.12 GB, free: 2.773 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.049e-05/0.8742, allocations: 27.98 kB / 1.12 GB, free: 2.746 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0006123/0.8748, allocations: 455 kB / 1.12 GB, free: 2.305 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8748, allocations: 0 / 1.12 GB, free: 2.305 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0008114/0.8756, allocations: 283.3 kB / 1.12 GB, free: 2.027 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.001468/0.8771, allocations: 0.5888 MB / 1.121 GB, free: 1.609 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001077/0.8782, allocations: 0.5794 MB / 1.122 GB, free: 1.031 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.8782, allocations: 0 / 1.122 GB, free: 1.031 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0005057/0.8787, allocations: 323.6 kB / 1.122 GB, free: 0.7148 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001065/0.8798, allocations: 249.8 kB / 1.122 GB, free: 496 kB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0029/0.8827, allocations: 1.799 MB / 1.124 GB, free: 14.65 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000599/0.8833, allocations: 0.976 MB / 1.125 GB, free: 13.65 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003057/0.8836, allocations: 111.4 kB / 1.125 GB, free: 13.54 MB / 0.8887 GB Notification: Performance of SimCode: time 3.71e-07/0.8836, allocations: 0 / 1.125 GB, free: 13.54 MB / 0.8887 GB Notification: Performance of Templates: time 0.02019/0.9038, allocations: 13.37 MB / 1.138 GB, free: 216 kB / 0.8887 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches