Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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_usingTwoYearDataNegativeStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.TDryBul",fileNamePrefix="Buildings_9_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_9_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.001504/0.001504, allocations: 103.5 kB / 16.35 MB, free: 5.875 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.001663/0.001663, allocations: 195.7 kB / 17.3 MB, free: 5.516 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.469/1.469, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.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.314/2.314, allocations: 390.3 MB / 0.6655 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 63.7 kB / 0.814 GB, free: 32.58 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2991/0.3004, allocations: 140.4 MB / 0.9511 GB, free: 8.082 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart): time 0.006132/0.3066, allocations: 4.278 MB / 0.9553 GB, free: 3.789 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.9434/1.25, allocations: 150.5 MB / 1.102 GB, free: 4.598 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001142/1.251, allocations: 17.03 kB / 1.102 GB, free: 4.598 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0007276/1.252, allocations: 167.6 kB / 1.102 GB, free: 4.598 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002117/1.254, allocations: 500 kB / 1.103 GB, free: 4.586 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002138/1.256, allocations: 0.7433 MB / 1.104 GB, free: 4.582 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001896/1.258, allocations: 1.203 MB / 1.105 GB, free: 4.574 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00091/1.259, allocations: 0.5111 MB / 1.105 GB, free: 4.477 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007716/1.26, allocations: 407.3 kB / 1.106 GB, free: 4.477 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006493/1.261, allocations: 422 kB / 1.106 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001657/1.261, allocations: 99.09 kB / 1.106 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009985/1.262, allocations: 404.6 kB / 1.107 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003239/1.262, allocations: 255.5 kB / 1.107 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0005299/1.263, allocations: 477.7 kB / 1.107 GB, free: 4.465 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002117/1.265, allocations: 1.391 MB / 1.109 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/1.265, allocations: 0.8438 kB / 1.109 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.906e-06/1.265, allocations: 0 / 1.109 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.718e-05/1.265, allocations: 1.094 kB / 1.109 GB, free: 4.375 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.002612/1.268, allocations: 1.266 MB / 1.11 GB, free: 19.65 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/1.268, allocations: 10.58 kB / 1.11 GB, free: 19.65 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003808/1.268, allocations: 109.3 kB / 1.11 GB, free: 19.6 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001393/1.269, allocations: 0.7168 MB / 1.111 GB, free: 19.27 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.376e-05/1.269, allocations: 54.09 kB / 1.111 GB, free: 19.27 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001307/1.27, allocations: 68.95 kB / 1.111 GB, free: 19.27 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001334/1.271, allocations: 0.7729 MB / 1.112 GB, free: 19.08 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/1.271, allocations: 1.438 kB / 1.112 GB, free: 19.08 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.463e-05/1.271, allocations: 28.12 kB / 1.112 GB, free: 19.08 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.057e-05/1.271, allocations: 18.55 kB / 1.112 GB, free: 19.08 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001572/1.273, allocations: 0.9707 MB / 1.113 GB, free: 19.06 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003721/1.276, allocations: 2.458 MB / 1.115 GB, free: 17.98 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00126/1.278, allocations: 0.6794 MB / 1.116 GB, free: 17.91 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004125/1.278, allocations: 249.5 kB / 1.116 GB, free: 17.89 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 8.305e-05/1.278, allocations: 31.06 kB / 1.116 GB, free: 17.89 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000728/1.279, allocations: 425.3 kB / 1.116 GB, free: 17.81 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=70): time 2.034e-06/1.279, allocations: 0 / 1.116 GB, free: 17.81 MB / 0.8731 GB Notification: Performance of matching and sorting (n=70): time 0.001752/1.281, allocations: 0.8378 MB / 1.117 GB, free: 17.72 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000143/1.281, allocations: 244.8 kB / 1.117 GB, free: 17.44 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009437/1.282, allocations: 0.6322 MB / 1.118 GB, free: 17.3 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.755e-05/1.282, allocations: 40.81 kB / 1.118 GB, free: 17.27 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003027/1.282, allocations: 355.1 kB / 1.118 GB, free: 17.11 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001633/1.282, allocations: 229.6 kB / 1.119 GB, free: 16.97 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002562/1.283, allocations: 159.3 kB / 1.119 GB, free: 16.95 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001807/1.283, allocations: 383.3 kB / 1.119 GB, free: 16.64 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003698/1.283, allocations: 221.8 kB / 1.119 GB, free: 16.63 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005063/1.284, allocations: 334.9 kB / 1.12 GB, free: 16.55 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008494/1.285, allocations: 0.5184 MB / 1.12 GB, free: 16.49 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/1.285, allocations: 1.156 kB / 1.12 GB, free: 16.49 MB / 0.8731 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001275/1.286, allocations: 0.6821 MB / 1.121 GB, free: 16.39 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.336e-05/1.286, allocations: 10.09 kB / 1.121 GB, free: 16.39 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/1.286, allocations: 2.469 kB / 1.121 GB, free: 16.39 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.387e-05/1.286, allocations: 6.156 kB / 1.121 GB, free: 16.39 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005642/1.286, allocations: 145.1 kB / 1.121 GB, free: 16.38 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.376e-05/1.286, allocations: 7.438 kB / 1.121 GB, free: 16.38 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006217/1.287, allocations: 89.31 kB / 1.121 GB, free: 16.35 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.767e-05/1.287, allocations: 36.41 kB / 1.121 GB, free: 16.35 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.0004058/1.288, allocations: 262.6 kB / 1.121 GB, free: 16.22 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001459/1.288, allocations: 76.88 kB / 1.121 GB, free: 16.18 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001535/1.289, allocations: 0.8408 MB / 1.122 GB, free: 16.09 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.111e-05/1.289, allocations: 8.562 kB / 1.122 GB, free: 16.09 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/1.289, allocations: 1.438 kB / 1.122 GB, free: 16.09 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.162e-05/1.289, allocations: 7.547 kB / 1.122 GB, free: 16.09 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001423/1.291, allocations: 0.9676 MB / 1.123 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/1.291, allocations: 4.031 kB / 1.123 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004539/1.291, allocations: 125 kB / 1.123 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.057e-06/1.291, allocations: 4.562 kB / 1.123 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.884e-05/1.291, allocations: 27.66 kB / 1.123 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.764e-06/1.291, allocations: 4 kB / 1.123 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/1.291, allocations: 0 / 1.123 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001128/1.292, allocations: 0.7297 MB / 1.124 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004387/1.293, allocations: 264.5 kB / 1.124 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001142/1.293, allocations: 19.84 kB / 1.124 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004703/1.294, allocations: 53.45 kB / 1.124 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001418/1.294, allocations: 58.05 kB / 1.124 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.731e-05/1.294, allocations: 31.59 kB / 1.124 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0005947/1.294, allocations: 456.2 kB / 1.125 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.7e-07/1.294, allocations: 4 kB / 1.125 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0008571/1.295, allocations: 272.7 kB / 1.125 GB, free: 15.31 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.001381/1.297, allocations: 0.6079 MB / 1.126 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001045/1.298, allocations: 0.5851 MB / 1.126 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/1.298, allocations: 0 / 1.126 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0005024/1.298, allocations: 321.2 kB / 1.127 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001062/1.299, allocations: 266.9 kB / 1.127 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002428/1.302, allocations: 1.405 MB / 1.128 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006324/1.302, allocations: 0.9749 MB / 1.129 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0007632/1.303, allocations: 249 kB / 1.129 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002187/1.303, allocations: 103.5 kB / 1.13 GB, free: 13.67 MB / 0.8731 GB Notification: Performance of SimCode: time 1.052e-06/1.303, allocations: 0 / 1.13 GB, free: 13.67 MB / 0.8731 GB Notification: Performance of Templates: time 0.02778/1.331, allocations: 12.38 MB / 1.142 GB, free: 11.94 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataNegativeStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches