Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.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.DecemberToJanuary,tolerance=1e-06,outputFormat="mat",numberOfIntervals=482,variableFilter="time|weaDat.weaBus.TDryBul|weaDat.weaBus.HDirNor|weaDat.weaBus.HDifHor",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary") translateModel(Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary,tolerance=1e-06,outputFormat="mat",numberOfIntervals=482,variableFilter="time|weaDat.weaBus.TDryBul|weaDat.weaBus.HDirNor|weaDat.weaBus.HDifHor",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001694/0.001693, 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.002139/0.002139, allocations: 194.3 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.451/1.451, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.063/3.063, allocations: 472.6 MB / 0.7451 GB, free: 4.723 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001272, allocations: 63.86 kB / 0.912 GB, free: 33.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3172/0.3185, allocations: 159.9 MB / 1.068 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary): time 0.005816/0.3243, allocations: 4.533 MB / 1.073 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.156/0.4804, allocations: 150.5 MB / 1.22 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007607/0.4812, allocations: 15.94 kB / 1.22 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005173/0.4817, allocations: 178.3 kB / 1.22 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001791/0.4835, allocations: 0.5126 MB / 1.22 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001866/0.4854, allocations: 0.7506 MB / 1.221 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001449/0.4869, allocations: 1.23 MB / 1.222 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008193/0.4877, allocations: 0.4986 MB / 1.223 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006044/0.4883, allocations: 410.5 kB / 1.223 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005179/0.4889, allocations: 422.1 kB / 1.224 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001438/0.489, allocations: 100 kB / 1.224 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001058/0.4901, allocations: 375.7 kB / 1.224 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003271/0.4904, allocations: 259.1 kB / 1.224 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0006025/0.491, allocations: 481.5 kB / 1.225 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002063/0.4931, allocations: 1.379 MB / 1.226 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.4931, allocations: 0 / 1.226 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.823e-06/0.4931, allocations: 0 / 1.226 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.891e-05/0.4932, allocations: 0 / 1.226 GB, free: 8.227 MB / 0.9825 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.002186/0.4954, allocations: 1.277 MB / 1.227 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.4954, allocations: 12.02 kB / 1.227 GB, free: 6.883 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003346/0.4957, allocations: 115.6 kB / 1.227 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008911/0.4966, allocations: 0.6801 MB / 1.228 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.048e-05/0.4967, allocations: 54 kB / 1.228 GB, free: 5.992 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.042e-05/0.4968, allocations: 71.88 kB / 1.228 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001091/0.4979, allocations: 0.774 MB / 1.229 GB, free: 5.094 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.759e-05/0.4979, allocations: 4 kB / 1.229 GB, free: 5.09 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.621e-05/0.498, allocations: 28 kB / 1.229 GB, free: 5.062 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.571e-05/0.498, allocations: 16 kB / 1.229 GB, free: 5.047 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001263/0.4993, allocations: 0.9689 MB / 1.23 GB, free: 4.078 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003143/0.5024, allocations: 2.486 MB / 1.232 GB, free: 1.512 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001114/0.5036, allocations: 0.6837 MB / 1.233 GB, free: 0.8164 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003889/0.504, allocations: 247.3 kB / 1.233 GB, free: 0.5703 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.218e-05/0.5041, allocations: 32.5 kB / 1.233 GB, free: 0.5391 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007801/0.5048, allocations: 426.3 kB / 1.234 GB, free: 104 kB / 0.9825 GB Notification: Performance of pre-optimization done (n=70): time 2.926e-06/0.5049, allocations: 0 / 1.234 GB, free: 104 kB / 0.9825 GB Notification: Performance of matching and sorting (n=70): time 0.00159/0.5065, allocations: 0.8312 MB / 1.235 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001422/0.5066, allocations: 251.8 kB / 1.235 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008238/0.5074, allocations: 0.6252 MB / 1.235 GB, free: 14.33 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.191e-05/0.5075, allocations: 45.69 kB / 1.235 GB, free: 14.28 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002989/0.5078, allocations: 356.6 kB / 1.236 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001789/0.508, allocations: 228.7 kB / 1.236 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002295/0.5082, allocations: 150.5 kB / 1.236 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001791/0.5084, allocations: 386.9 kB / 1.236 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003874/0.5088, allocations: 221.8 kB / 1.237 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004892/0.5093, allocations: 333.4 kB / 1.237 GB, free: 12.6 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007985/0.5101, allocations: 0.5212 MB / 1.238 GB, free: 12.06 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.5101, allocations: 0 / 1.238 GB, free: 12.06 MB / 0.9981 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001135/0.5113, allocations: 0.6838 MB / 1.238 GB, free: 11.37 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.5113, allocations: 9.344 kB / 1.238 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.5113, allocations: 7.984 kB / 1.238 GB, free: 11.35 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.213e-05/0.5114, allocations: 4 kB / 1.238 GB, free: 11.35 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005538/0.5119, allocations: 139.9 kB / 1.238 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.667e-05/0.512, allocations: 11.94 kB / 1.238 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006079/0.5126, allocations: 91.48 kB / 1.238 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.107e-05/0.5126, allocations: 39.97 kB / 1.238 GB, free: 11.07 MB / 0.9981 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.0003625/0.513, allocations: 251.4 kB / 1.239 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000154/0.5132, allocations: 79.06 kB / 1.239 GB, free: 10.74 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001583/0.5148, allocations: 0.8524 MB / 1.24 GB, free: 9.871 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.998e-06/0.5148, allocations: 8 kB / 1.24 GB, free: 9.863 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.098e-06/0.5148, allocations: 3.938 kB / 1.24 GB, free: 9.859 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.867e-05/0.5148, allocations: 7.984 kB / 1.24 GB, free: 9.852 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001144/0.516, allocations: 0.9598 MB / 1.241 GB, free: 8.832 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.516, allocations: 8.031 kB / 1.241 GB, free: 8.824 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004397/0.5164, allocations: 123.8 kB / 1.241 GB, free: 8.703 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.057e-05/0.5165, allocations: 3.938 kB / 1.241 GB, free: 8.699 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.024e-05/0.5165, allocations: 23.98 kB / 1.241 GB, free: 8.676 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.451e-06/0.5165, allocations: 4 kB / 1.241 GB, free: 8.672 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.5165, allocations: 0 / 1.241 GB, free: 8.672 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00117/0.5177, allocations: 0.7393 MB / 1.241 GB, free: 7.914 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003482/0.5181, allocations: 259.8 kB / 1.242 GB, free: 7.641 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001347/0.5182, allocations: 16 kB / 1.242 GB, free: 7.625 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005441/0.5188, allocations: 55.94 kB / 1.242 GB, free: 7.57 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001515/0.5189, allocations: 56.58 kB / 1.242 GB, free: 7.516 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.544e-05/0.519, allocations: 31.97 kB / 1.242 GB, free: 7.484 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006258/0.5196, allocations: 451 kB / 1.242 GB, free: 7.047 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.21e-07/0.5196, allocations: 4 kB / 1.242 GB, free: 7.043 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008906/0.5205, allocations: 283.3 kB / 1.243 GB, free: 6.766 MB / 0.9981 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.001645/0.5222, allocations: 0.5978 MB / 1.243 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00171/0.5239, allocations: 0.7629 MB / 1.244 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/0.5239, allocations: 0 / 1.244 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000518/0.5245, allocations: 319.9 kB / 1.244 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0012/0.5257, allocations: 285.2 kB / 1.244 GB, free: 5.008 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002669/0.5284, allocations: 1.44 MB / 1.246 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005735/0.5289, allocations: 0.9758 MB / 1.247 GB, free: 2.527 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000752/0.5297, allocations: 246.3 kB / 1.247 GB, free: 2.281 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002311/0.5299, allocations: 95.39 kB / 1.247 GB, free: 2.188 MB / 0.9981 GB Notification: Performance of SimCode: time 1.152e-06/0.53, allocations: 0 / 1.247 GB, free: 2.188 MB / 0.9981 GB Notification: Performance of Templates: time 0.5053/1.035, allocations: 12.71 MB / 1.26 GB, free: 182.8 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_Validation_DecemberToJanuary.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches