Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.ReaderTMY3HDirNor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDatInpCon.HGloHor_in|weaDatInpCon.weaBus.HDifHor|weaDatInpCon.weaBus.HDirNor",fileNamePrefix="Buildings_9_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_9_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.001/0.001, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.00123/0.001231, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.507/1.507, allocations: 223.3 MB / 240 MB, free: 5.359 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.464/2.464, allocations: 390.9 MB / 0.666 GB, free: 2.473 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003386/0.0003386, allocations: 8 kB / 0.8153 GB, free: 13.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8846/0.8849, allocations: 142.4 MB / 0.9544 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.004432/0.8894, allocations: 3.804 MB / 0.9581 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1724/1.062, allocations: 136.8 MB / 1.092 GB, free: 2.535 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008606/1.063, allocations: 15.94 kB / 1.092 GB, free: 2.52 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0005323/1.063, allocations: 134.9 kB / 1.092 GB, free: 2.387 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001382/1.065, allocations: 429.7 kB / 1.092 GB, free: 1.969 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001775/1.067, allocations: 0.6322 MB / 1.093 GB, free: 1.344 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001328/1.068, allocations: 1.152 MB / 1.094 GB, free: 192 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006881/1.069, allocations: 411.9 kB / 1.094 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005121/1.069, allocations: 342.6 kB / 1.095 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004561/1.07, allocations: 374.1 kB / 1.095 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.001e-05/1.07, allocations: 24 kB / 1.095 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001262/1.071, allocations: 0.7177 MB / 1.096 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000213/1.071, allocations: 183.2 kB / 1.096 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001636/1.071, allocations: 189.1 kB / 1.096 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001287/1.073, allocations: 1.274 MB / 1.097 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/1.073, allocations: 0 / 1.097 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.884e-06/1.073, allocations: 4 kB / 1.097 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.374e-05/1.073, allocations: 0 / 1.097 GB, free: 12.68 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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.00224/1.075, allocations: 1.259 MB / 1.099 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/1.075, allocations: 8.031 kB / 1.099 GB, free: 11.35 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001052/1.076, allocations: 214.5 kB / 1.099 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001004/1.077, allocations: 0.7116 MB / 1.1 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.652e-05/1.077, allocations: 54 kB / 1.1 GB, free: 10.33 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001012/1.077, allocations: 79.98 kB / 1.1 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001623/1.079, allocations: 0.8919 MB / 1.101 GB, free: 9.32 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.064e-05/1.079, allocations: 3.984 kB / 1.101 GB, free: 9.316 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.251e-05/1.079, allocations: 39.89 kB / 1.101 GB, free: 9.277 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.723e-05/1.079, allocations: 23.94 kB / 1.101 GB, free: 9.254 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001924/1.081, allocations: 1.143 MB / 1.102 GB, free: 8.105 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003745/1.085, allocations: 2.515 MB / 1.104 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00153/1.086, allocations: 0.8454 MB / 1.105 GB, free: 4.676 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006555/1.087, allocations: 346.6 kB / 1.105 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.292e-05/1.087, allocations: 32.59 kB / 1.105 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001036/1.088, allocations: 0.5339 MB / 1.106 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=82): time 2.756e-06/1.088, allocations: 0 / 1.106 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of matching and sorting (n=82): time 0.003362/1.091, allocations: 1.307 MB / 1.107 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001084/1.091, allocations: 196.6 kB / 1.107 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007567/1.092, allocations: 0.6255 MB / 1.108 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.462e-05/1.092, allocations: 41.7 kB / 1.108 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.000311/1.093, allocations: 380.5 kB / 1.108 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002168/1.093, allocations: 268.2 kB / 1.109 GB, free: 0.8594 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.556e-05/1.093, allocations: 16 kB / 1.109 GB, free: 0.8438 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001814/1.093, allocations: 394.7 kB / 1.109 GB, free: 460 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006514/1.094, allocations: 305.8 kB / 1.109 GB, free: 156 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007499/1.095, allocations: 399.9 kB / 1.11 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007337/1.095, allocations: 342.9 kB / 1.11 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/1.095, allocations: 0 / 1.11 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002173/1.097, allocations: 0.9345 MB / 1.111 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.409e-05/1.097, allocations: 7.938 kB / 1.111 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/1.098, allocations: 7.938 kB / 1.111 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000574/1.098, allocations: 84.89 kB / 1.111 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000724/1.099, allocations: 179.8 kB / 1.111 GB, free: 14.19 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002002/1.101, allocations: 1.534 MB / 1.113 GB, free: 12.52 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007237/1.102, allocations: 111.3 kB / 1.113 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.528e-05/1.102, allocations: 47.89 kB / 1.113 GB, free: 12.36 MB / 0.8731 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 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDatInpCon.locTim.tNext,weaDatInpCon.locTim.tNext,$PRE.weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTim.tNext,$PRE.weaDatInpCon.eqnTim.tNext,weaDatInpCon.eqnTim.tNext,$PRE.weaDatInpCon.decAng.tNext,weaDatInpCon.decAng.tNext,weaDatInpCon.conTimMin.canRepeatWeatherFile,weaDatInpCon.conTim.canRepeatWeatherFile) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004227/1.102, allocations: 271.7 kB / 1.113 GB, free: 12.08 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001205/1.102, allocations: 82.97 kB / 1.113 GB, free: 12 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002738/1.105, allocations: 1.229 MB / 1.114 GB, free: 10.76 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.618e-06/1.105, allocations: 8 kB / 1.114 GB, free: 10.75 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/1.105, allocations: 0 / 1.114 GB, free: 10.75 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.362e-05/1.105, allocations: 11.97 kB / 1.114 GB, free: 10.74 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009915/1.106, allocations: 0.915 MB / 1.115 GB, free: 9.773 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/1.106, allocations: 3.953 kB / 1.115 GB, free: 9.77 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006352/1.107, allocations: 163.8 kB / 1.115 GB, free: 9.609 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004663/1.107, allocations: 80.78 kB / 1.116 GB, free: 9.527 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.199e-05/1.107, allocations: 31.97 kB / 1.116 GB, free: 9.496 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001696/1.109, allocations: 1.552 MB / 1.117 GB, free: 7.801 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/1.109, allocations: 4 kB / 1.117 GB, free: 7.797 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002065/1.111, allocations: 1.018 MB / 1.118 GB, free: 6.754 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004048/1.111, allocations: 295.6 kB / 1.118 GB, free: 6.445 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001154/1.112, allocations: 24 kB / 1.118 GB, free: 6.422 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006128/1.112, allocations: 93.75 kB / 1.118 GB, free: 6.332 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001479/1.112, allocations: 73.02 kB / 1.119 GB, free: 6.262 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.502e-05/1.112, allocations: 35.98 kB / 1.119 GB, free: 6.227 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0005599/1.113, allocations: 459 kB / 1.119 GB, free: 5.781 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.51e-07/1.113, allocations: 0 / 1.119 GB, free: 5.781 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0009419/1.114, allocations: 319.4 kB / 1.119 GB, free: 5.469 MB / 0.8731 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001441/1.115, allocations: 0.6172 MB / 1.12 GB, free: 5.027 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001944/1.117, allocations: 0.9173 MB / 1.121 GB, free: 4.098 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/1.117, allocations: 0 / 1.121 GB, free: 4.098 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001024/1.118, allocations: 0.5549 MB / 1.121 GB, free: 3.531 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001145/1.12, allocations: 267 kB / 1.122 GB, free: 3.277 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004355/1.124, allocations: 2.179 MB / 1.124 GB, free: 1.07 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006961/1.125, allocations: 1.016 MB / 1.125 GB, free: 28 kB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.001071/1.126, allocations: 290.8 kB / 1.125 GB, free: 15.74 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003246/1.126, allocations: 115.4 kB / 1.125 GB, free: 15.62 MB / 0.8887 GB Notification: Performance of SimCode: time 8.81e-07/1.126, allocations: 0 / 1.125 GB, free: 15.62 MB / 0.8887 GB Notification: Performance of Templates: time 0.02566/1.152, allocations: 14.37 MB / 1.139 GB, free: 1.434 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches