Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.ReaderTMY3HDirNor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDatInpCon.HGloHor_in|weaDatInpCon.weaBus.HDifHor|weaDatInpCon.weaBus.HDirNor",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor") translateModel(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDatInpCon.HGloHor_in|weaDatInpCon.weaBus.HDifHor|weaDatInpCon.weaBus.HDirNor",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 106.2 kB / 16.35 MB, free: 5.824 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.001549/0.001549, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.508/1.508, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.621/2.621, allocations: 442.6 MB / 0.7165 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 68.22 kB / 0.8773 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4/0.4015, allocations: 153 MB / 1.027 GB, free: 2.012 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.006577/0.4081, allocations: 4.715 MB / 1.031 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.865/1.273, allocations: 150.6 MB / 1.178 GB, free: 6.836 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001149/1.274, allocations: 18.75 kB / 1.178 GB, free: 6.828 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.000729/1.275, allocations: 185.3 kB / 1.179 GB, free: 6.707 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002152/1.277, allocations: 0.5289 MB / 1.179 GB, free: 6.406 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002356/1.28, allocations: 0.8345 MB / 1.18 GB, free: 5.965 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002043/1.282, allocations: 1.395 MB / 1.181 GB, free: 5.098 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001016/1.283, allocations: 0.532 MB / 1.182 GB, free: 4.777 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009612/1.284, allocations: 475.1 kB / 1.182 GB, free: 4.496 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007673/1.285, allocations: 493.6 kB / 1.183 GB, free: 4.156 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0002007/1.285, allocations: 109 kB / 1.183 GB, free: 4.156 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002192/1.287, allocations: 0.8759 MB / 1.184 GB, free: 3.746 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003319/1.287, allocations: 288.4 kB / 1.184 GB, free: 3.52 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0006473/1.288, allocations: 0.528 MB / 1.184 GB, free: 3.125 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.003046/1.291, allocations: 1.783 MB / 1.186 GB, free: 1.891 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/1.291, allocations: 7.75 kB / 1.186 GB, free: 1.887 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.036e-06/1.291, allocations: 0 / 1.186 GB, free: 1.887 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.787e-05/1.291, allocations: 1.188 kB / 1.186 GB, free: 1.887 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.003086/1.294, allocations: 1.449 MB / 1.188 GB, free: 0.7383 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.133e-05/1.294, allocations: 9.25 kB / 1.188 GB, free: 0.7383 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001259/1.295, allocations: 210.9 kB / 1.188 GB, free: 0.6367 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001506/1.297, allocations: 0.7552 MB / 1.189 GB, free: 16 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001257/1.297, allocations: 57.52 kB / 1.189 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001287/1.297, allocations: 72 kB / 1.189 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001911/1.299, allocations: 0.8967 MB / 1.19 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.235e-05/1.299, allocations: 9.344 kB / 1.19 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.58e-05/1.299, allocations: 32.25 kB / 1.19 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.275e-05/1.299, allocations: 21.81 kB / 1.19 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002092/1.301, allocations: 1.127 MB / 1.191 GB, free: 14.79 MB / 0.9044 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00446/1.306, allocations: 2.579 MB / 1.193 GB, free: 12.74 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001606/1.308, allocations: 0.8365 MB / 1.194 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006923/1.308, allocations: 331.6 kB / 1.194 GB, free: 12.15 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 8.761e-05/1.308, allocations: 36.22 kB / 1.194 GB, free: 12.13 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001027/1.309, allocations: 0.5221 MB / 1.195 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=82): time 3.126e-06/1.309, allocations: 0 / 1.195 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of matching and sorting (n=82): time 0.003763/1.313, allocations: 1.289 MB / 1.196 GB, free: 11.1 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001242/1.313, allocations: 196.7 kB / 1.196 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009238/1.314, allocations: 0.638 MB / 1.197 GB, free: 10.5 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 7.824e-05/1.314, allocations: 43.36 kB / 1.197 GB, free: 10.46 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003629/1.315, allocations: 376.5 kB / 1.197 GB, free: 10.13 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.000264/1.315, allocations: 270.8 kB / 1.198 GB, free: 9.895 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002843/1.315, allocations: 168.9 kB / 1.198 GB, free: 9.793 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002281/1.315, allocations: 389.8 kB / 1.198 GB, free: 9.422 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006719/1.316, allocations: 308.2 kB / 1.198 GB, free: 9.266 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008196/1.317, allocations: 392.4 kB / 1.199 GB, free: 9.039 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001538/1.319, allocations: 0.6764 MB / 1.199 GB, free: 8.668 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/1.319, allocations: 4 kB / 1.199 GB, free: 8.664 MB / 0.9044 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002564/1.321, allocations: 0.9179 MB / 1.2 GB, free: 8.199 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.655e-05/1.321, allocations: 9.219 kB / 1.2 GB, free: 8.195 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/1.321, allocations: 0 / 1.2 GB, free: 8.195 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000621/1.322, allocations: 90.38 kB / 1.2 GB, free: 8.148 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000785/1.323, allocations: 175.8 kB / 1.201 GB, free: 8.102 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002249/1.325, allocations: 1.647 MB / 1.202 GB, free: 6.492 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009168/1.326, allocations: 104 kB / 1.202 GB, free: 6.426 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-05/1.326, allocations: 41.06 kB / 1.202 GB, free: 6.41 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 17 (weaDatInpCon.conTim.canRepeatWeatherFile,weaDatInpCon.conTimMin.canRepeatWeatherFile,weaDatInpCon.decAng.tNext,$PRE.weaDatInpCon.decAng.tNext,weaDatInpCon.eqnTim.tNext,$PRE.weaDatInpCon.eqnTim.tNext,weaDatInpCon.conTim.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTimMin.tNext,weaDatInpCon.locTim.tNext,$PRE.weaDatInpCon.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 (97): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005674/1.326, allocations: 261.4 kB / 1.203 GB, free: 6.207 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002041/1.327, allocations: 95.03 kB / 1.203 GB, free: 6.152 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002893/1.33, allocations: 1.202 MB / 1.204 GB, free: 5.488 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-05/1.33, allocations: 10.47 kB / 1.204 GB, free: 5.488 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.766e-06/1.33, allocations: 0 / 1.204 GB, free: 5.488 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.16e-05/1.33, allocations: 3.984 kB / 1.204 GB, free: 5.484 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001254/1.331, allocations: 0.9129 MB / 1.205 GB, free: 4.785 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/1.331, allocations: 0 / 1.205 GB, free: 4.785 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006456/1.332, allocations: 163.4 kB / 1.205 GB, free: 4.746 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000437/1.332, allocations: 78.12 kB / 1.205 GB, free: 4.703 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.073e-05/1.332, allocations: 23.64 kB / 1.205 GB, free: 4.688 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002056/1.334, allocations: 1.674 MB / 1.207 GB, free: 3.055 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/1.334, allocations: 3.75 kB / 1.207 GB, free: 3.055 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002249/1.336, allocations: 1.004 MB / 1.208 GB, free: 2.523 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005057/1.337, allocations: 286.2 kB / 1.208 GB, free: 2.273 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001285/1.337, allocations: 20.77 kB / 1.208 GB, free: 2.258 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006561/1.338, allocations: 71.11 kB / 1.208 GB, free: 2.223 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001748/1.338, allocations: 71.95 kB / 1.208 GB, free: 2.184 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.215e-05/1.338, allocations: 42.94 kB / 1.208 GB, free: 2.164 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0006592/1.339, allocations: 459.2 kB / 1.209 GB, free: 1.902 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.61e-07/1.339, allocations: 3 kB / 1.209 GB, free: 1.902 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001019/1.34, allocations: 329.2 kB / 1.209 GB, free: 1.809 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDatInpCon.locTim.tNext,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDatInpCon.eqnTim.tNext,weaDatInpCon.decAng.tNext) * Number of discrete states: 5 (weaDatInpCon.locTim.tNext,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDatInpCon.eqnTim.tNext,weaDatInpCon.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001464/1.341, allocations: 0.6253 MB / 1.21 GB, free: 1.496 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002057/1.343, allocations: 0.9062 MB / 1.21 GB, free: 0.5781 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/1.343, allocations: 256 / 1.21 GB, free: 0.5781 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001082/1.344, allocations: 0.5549 MB / 1.211 GB, free: 8 kB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001236/1.346, allocations: 305.3 kB / 1.211 GB, free: 15.74 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003158/1.349, allocations: 1.647 MB / 1.213 GB, free: 14.06 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005627/1.349, allocations: 1.02 MB / 1.214 GB, free: 13.01 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0008578/1.35, allocations: 274.8 kB / 1.214 GB, free: 12.74 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002924/1.351, allocations: 115.4 kB / 1.214 GB, free: 12.62 MB / 0.92 GB Notification: Performance of SimCode: time 7.81e-07/1.351, allocations: 0 / 1.214 GB, free: 12.62 MB / 0.92 GB Notification: Performance of Templates: time 0.03033/1.381, allocations: 15.85 MB / 1.23 GB, free: 12.95 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches