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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001577/0.001577, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001894/0.001894, allocations: 197.1 kB / 16.26 MB, free: 6.629 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.432/1.432, allocations: 222.9 MB / 239.9 MB, free: 4.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.527/2.527, allocations: 390.2 MB / 0.6644 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002044/0.002045, allocations: 59.91 kB / 0.812 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8113/0.8133, allocations: 140.4 MB / 0.9491 GB, free: 9.23 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.005985/0.8194, allocations: 4.44 MB / 0.9534 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1792/0.9986, allocations: 148.3 MB / 1.098 GB, free: 8.723 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001183/0.9998, allocations: 11.94 kB / 1.098 GB, free: 8.711 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0007954/1.001, allocations: 134.9 kB / 1.098 GB, free: 8.578 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002247/1.003, allocations: 473 kB / 1.099 GB, free: 8.117 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002466/1.005, allocations: 0.7476 MB / 1.1 GB, free: 7.379 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001871/1.007, allocations: 1.335 MB / 1.101 GB, free: 6.039 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00108/1.008, allocations: 0.5621 MB / 1.101 GB, free: 5.453 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008713/1.009, allocations: 478.3 kB / 1.102 GB, free: 4.984 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008247/1.01, allocations: 485.9 kB / 1.102 GB, free: 4.508 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0003042/1.01, allocations: 112 kB / 1.102 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001745/1.012, allocations: 0.8465 MB / 1.103 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000351/1.013, allocations: 291.1 kB / 1.104 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0007112/1.013, allocations: 0.5207 MB / 1.104 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.003242/1.017, allocations: 1.741 MB / 1.106 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/1.017, allocations: 0 / 1.106 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.413e-06/1.017, allocations: 0 / 1.106 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.996e-05/1.017, allocations: 0 / 1.106 GB, free: 0.9961 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.004207/1.021, allocations: 1.438 MB / 1.107 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/1.021, allocations: 12.03 kB / 1.107 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001499/1.022, allocations: 203.4 kB / 1.107 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00137/1.024, allocations: 0.7506 MB / 1.108 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.431e-05/1.024, allocations: 54 kB / 1.108 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001291/1.024, allocations: 72 kB / 1.108 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00177/1.026, allocations: 0.8958 MB / 1.109 GB, free: 13.44 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.119e-05/1.026, allocations: 0 / 1.109 GB, free: 13.44 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.212e-05/1.026, allocations: 32 kB / 1.109 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.89e-05/1.026, allocations: 20 kB / 1.109 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002014/1.028, allocations: 1.135 MB / 1.11 GB, free: 12.25 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004273/1.032, allocations: 2.492 MB / 1.113 GB, free: 9.688 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001686/1.034, allocations: 0.8363 MB / 1.114 GB, free: 8.848 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007138/1.035, allocations: 334.6 kB / 1.114 GB, free: 8.512 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 8.828e-05/1.035, allocations: 36.59 kB / 1.114 GB, free: 8.477 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001159/1.036, allocations: 0.5307 MB / 1.114 GB, free: 7.93 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=82): time 2.455e-06/1.036, allocations: 0 / 1.114 GB, free: 7.93 MB / 0.8731 GB Notification: Performance of matching and sorting (n=82): time 0.003816/1.04, allocations: 1.291 MB / 1.116 GB, free: 6.609 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001532/1.04, allocations: 188.6 kB / 1.116 GB, free: 6.383 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001037/1.041, allocations: 0.6411 MB / 1.116 GB, free: 5.734 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 8.539e-05/1.041, allocations: 41.7 kB / 1.117 GB, free: 5.688 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003457/1.041, allocations: 376.5 kB / 1.117 GB, free: 5.312 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002332/1.042, allocations: 260.2 kB / 1.117 GB, free: 5.055 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002844/1.042, allocations: 178.5 kB / 1.117 GB, free: 4.871 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000191/1.042, allocations: 394.7 kB / 1.118 GB, free: 4.477 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000675/1.043, allocations: 293.8 kB / 1.118 GB, free: 4.191 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007958/1.044, allocations: 403.9 kB / 1.118 GB, free: 3.781 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001447/1.045, allocations: 0.6666 MB / 1.119 GB, free: 3.098 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/1.045, allocations: 0 / 1.119 GB, free: 3.098 MB / 0.8731 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002432/1.048, allocations: 0.9228 MB / 1.12 GB, free: 2.164 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.85e-05/1.048, allocations: 8.125 kB / 1.12 GB, free: 2.156 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/1.048, allocations: 4 kB / 1.12 GB, free: 2.152 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000637/1.048, allocations: 84.72 kB / 1.12 GB, free: 2.066 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007803/1.049, allocations: 179.8 kB / 1.12 GB, free: 1.891 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002432/1.052, allocations: 1.645 MB / 1.122 GB, free: 100 kB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009243/1.052, allocations: 99.41 kB / 1.122 GB, free: 0 / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.624e-05/1.053, allocations: 44.08 kB / 1.122 GB, free: 15.95 MB / 0.8887 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.0005527/1.053, allocations: 275.8 kB / 1.122 GB, free: 15.67 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000176/1.053, allocations: 82.97 kB / 1.122 GB, free: 15.59 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003026/1.056, allocations: 1.202 MB / 1.123 GB, free: 14.37 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.938e-06/1.056, allocations: 11.94 kB / 1.123 GB, free: 14.36 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/1.056, allocations: 0 / 1.123 GB, free: 14.36 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.255e-05/1.056, allocations: 11.92 kB / 1.123 GB, free: 14.35 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001204/1.058, allocations: 0.915 MB / 1.124 GB, free: 13.39 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/1.058, allocations: 0 / 1.124 GB, free: 13.39 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007102/1.058, allocations: 159.8 kB / 1.124 GB, free: 13.23 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004862/1.059, allocations: 72.78 kB / 1.125 GB, free: 13.16 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.113e-05/1.059, allocations: 27.97 kB / 1.125 GB, free: 13.13 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002123/1.061, allocations: 1.681 MB / 1.126 GB, free: 11.3 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/1.061, allocations: 0 / 1.126 GB, free: 11.3 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00245/1.064, allocations: 1.006 MB / 1.127 GB, free: 10.27 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004643/1.064, allocations: 283.6 kB / 1.127 GB, free: 9.977 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001348/1.064, allocations: 24 kB / 1.128 GB, free: 9.953 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006781/1.065, allocations: 65.95 kB / 1.128 GB, free: 9.891 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002003/1.065, allocations: 76.89 kB / 1.128 GB, free: 9.816 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.923e-05/1.065, allocations: 39.97 kB / 1.128 GB, free: 9.777 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0006572/1.066, allocations: 463 kB / 1.128 GB, free: 9.328 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.4e-07/1.066, allocations: 0 / 1.128 GB, free: 9.328 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001024/1.067, allocations: 323.3 kB / 1.128 GB, free: 9.012 MB / 0.8887 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.001561/1.068, allocations: 0.6179 MB / 1.129 GB, free: 8.566 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002871/1.071, allocations: 1.116 MB / 1.13 GB, free: 7.438 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/1.071, allocations: 0 / 1.13 GB, free: 7.438 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001127/1.072, allocations: 0.5551 MB / 1.131 GB, free: 6.871 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001315/1.074, allocations: 303.5 kB / 1.131 GB, free: 6.602 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00446/1.078, allocations: 2.163 MB / 1.133 GB, free: 4.41 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006066/1.079, allocations: 1.012 MB / 1.134 GB, free: 3.371 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.00104/1.08, allocations: 278.8 kB / 1.134 GB, free: 3.094 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003104/1.08, allocations: 115.4 kB / 1.134 GB, free: 2.98 MB / 0.8887 GB Notification: Performance of SimCode: time 8.11e-07/1.08, allocations: 0 / 1.134 GB, free: 2.98 MB / 0.8887 GB Notification: Performance of Templates: time 0.02876/1.109, allocations: 15.44 MB / 1.15 GB, free: 3.723 MB / 0.9044 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