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.001516/0.001516, allocations: 105.6 kB / 16.36 MB, free: 6.012 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.001684/0.001684, allocations: 195.2 kB / 17.31 MB, free: 5.613 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.506/1.506, allocations: 222.9 MB / 241 MB, free: 4.215 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.475/2.475, allocations: 390.3 MB / 0.6655 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 59.91 kB / 0.814 GB, free: 13.5 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7553/0.7566, allocations: 140.4 MB / 0.9511 GB, free: 9.328 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.006031/0.7627, allocations: 4.422 MB / 0.9554 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1895/0.9523, allocations: 150.6 MB / 1.102 GB, free: 6.16 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001174/0.9535, allocations: 19.88 kB / 1.103 GB, free: 6.141 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0008869/0.9544, allocations: 174.3 kB / 1.103 GB, free: 5.969 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002407/0.9569, allocations: 0.5083 MB / 1.103 GB, free: 5.461 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002403/0.9593, allocations: 0.8349 MB / 1.104 GB, free: 4.633 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001846/0.9612, allocations: 1.347 MB / 1.105 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008664/0.9621, allocations: 0.5659 MB / 1.106 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007458/0.9628, allocations: 470.4 kB / 1.106 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006224/0.9635, allocations: 493.9 kB / 1.107 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001618/0.9636, allocations: 108 kB / 1.107 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001682/0.9653, allocations: 0.8738 MB / 1.108 GB, free: 0.7656 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002789/0.9656, allocations: 279.1 kB / 1.108 GB, free: 0.4922 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0005073/0.9661, allocations: 0.5325 MB / 1.109 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002433/0.9686, allocations: 1.77 MB / 1.11 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.9686, allocations: 0 / 1.11 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.254e-06/0.9686, allocations: 4 kB / 1.11 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.486e-05/0.9686, allocations: 4 kB / 1.11 GB, free: 14.18 MB / 0.8731 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.002726/0.9714, allocations: 1.438 MB / 1.112 GB, free: 12.69 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.9714, allocations: 12.03 kB / 1.112 GB, free: 12.68 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001185/0.9726, allocations: 203.4 kB / 1.112 GB, free: 12.48 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001237/0.9739, allocations: 0.7663 MB / 1.113 GB, free: 11.67 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.064e-05/0.9739, allocations: 54 kB / 1.113 GB, free: 11.61 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001007/0.974, allocations: 72 kB / 1.113 GB, free: 11.54 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001654/0.9757, allocations: 0.8957 MB / 1.114 GB, free: 10.61 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.024e-05/0.9757, allocations: 0 / 1.114 GB, free: 10.61 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.43e-05/0.9758, allocations: 32 kB / 1.114 GB, free: 10.57 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.07e-05/0.9758, allocations: 24 kB / 1.114 GB, free: 10.55 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001983/0.9778, allocations: 1.12 MB / 1.115 GB, free: 9.426 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004237/0.9821, allocations: 2.465 MB / 1.117 GB, free: 6.891 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001662/0.9838, allocations: 0.8401 MB / 1.118 GB, free: 6.043 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007194/0.9845, allocations: 338.7 kB / 1.118 GB, free: 5.707 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 8.358e-05/0.9846, allocations: 32.59 kB / 1.118 GB, free: 5.676 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00104/0.9857, allocations: 0.5307 MB / 1.119 GB, free: 5.129 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=82): time 2.545e-06/0.9857, allocations: 0 / 1.119 GB, free: 5.129 MB / 0.8731 GB Notification: Performance of matching and sorting (n=82): time 0.00368/0.9894, allocations: 1.291 MB / 1.12 GB, free: 3.809 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001112/0.9895, allocations: 192.6 kB / 1.12 GB, free: 3.578 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008797/0.9904, allocations: 0.6372 MB / 1.121 GB, free: 2.934 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 8.049e-05/0.9905, allocations: 41.7 kB / 1.121 GB, free: 2.887 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003148/0.9908, allocations: 384.5 kB / 1.121 GB, free: 2.504 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002169/0.991, allocations: 264.2 kB / 1.122 GB, free: 2.242 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002605/0.9913, allocations: 170.5 kB / 1.122 GB, free: 2.066 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001648/0.9915, allocations: 394.7 kB / 1.122 GB, free: 1.672 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006804/0.9921, allocations: 297.8 kB / 1.122 GB, free: 1.383 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007841/0.9929, allocations: 399.9 kB / 1.123 GB, free: 0.9727 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001371/0.9943, allocations: 0.6705 MB / 1.123 GB, free: 292 kB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.9943, allocations: 0 / 1.123 GB, free: 292 kB / 0.8731 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002382/0.9967, allocations: 0.9267 MB / 1.124 GB, free: 15.35 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.528e-05/0.9968, allocations: 8 kB / 1.124 GB, free: 15.34 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/0.9968, allocations: 0 / 1.124 GB, free: 15.34 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005937/0.9974, allocations: 80.91 kB / 1.124 GB, free: 15.26 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007638/0.9982, allocations: 175.8 kB / 1.125 GB, free: 15.09 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002104/1, allocations: 1.649 MB / 1.126 GB, free: 13.29 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008888/1.001, allocations: 96.75 kB / 1.126 GB, free: 13.2 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.67e-05/1.001, allocations: 39.97 kB / 1.126 GB, free: 13.16 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.0004726/1.002, allocations: 275.9 kB / 1.127 GB, free: 12.88 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001916/1.002, allocations: 82.97 kB / 1.127 GB, free: 12.8 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002888/1.005, allocations: 1.198 MB / 1.128 GB, free: 11.59 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.271e-05/1.005, allocations: 16 kB / 1.128 GB, free: 11.57 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/1.005, allocations: 0 / 1.128 GB, free: 11.57 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.28e-05/1.005, allocations: 7.922 kB / 1.128 GB, free: 11.56 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001166/1.006, allocations: 0.9111 MB / 1.129 GB, free: 10.6 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/1.006, allocations: 0 / 1.129 GB, free: 10.6 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000696/1.007, allocations: 163.8 kB / 1.129 GB, free: 10.44 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004727/1.007, allocations: 76.72 kB / 1.129 GB, free: 10.36 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.556e-05/1.007, allocations: 27.97 kB / 1.129 GB, free: 10.34 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001967/1.009, allocations: 1.67 MB / 1.131 GB, free: 8.523 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/1.009, allocations: 3.984 kB / 1.131 GB, free: 8.52 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002403/1.012, allocations: 0.9981 MB / 1.132 GB, free: 7.496 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004962/1.012, allocations: 287.6 kB / 1.132 GB, free: 7.195 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001292/1.012, allocations: 24.06 kB / 1.132 GB, free: 7.172 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006573/1.013, allocations: 71.92 kB / 1.132 GB, free: 7.102 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001772/1.013, allocations: 76.89 kB / 1.132 GB, free: 7.027 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.924e-05/1.013, allocations: 35.97 kB / 1.132 GB, free: 6.992 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0005959/1.014, allocations: 467 kB / 1.133 GB, free: 6.539 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.2e-07/1.014, allocations: 0 / 1.133 GB, free: 6.539 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0009131/1.015, allocations: 327.3 kB / 1.133 GB, free: 6.219 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.001475/1.016, allocations: 0.6299 MB / 1.133 GB, free: 5.766 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002063/1.018, allocations: 0.9056 MB / 1.134 GB, free: 4.848 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/1.018, allocations: 0 / 1.134 GB, free: 4.848 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001066/1.02, allocations: 0.551 MB / 1.135 GB, free: 4.281 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001215/1.021, allocations: 306.1 kB / 1.135 GB, free: 4.008 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00402/1.025, allocations: 1.747 MB / 1.137 GB, free: 2.234 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000566/1.025, allocations: 1.02 MB / 1.138 GB, free: 1.188 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.000921/1.026, allocations: 274.8 kB / 1.138 GB, free: 0.9141 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002878/1.027, allocations: 107.4 kB / 1.138 GB, free: 0.8086 MB / 0.8887 GB Notification: Performance of SimCode: time 8.92e-07/1.027, allocations: 4 kB / 1.138 GB, free: 0.8047 MB / 0.8887 GB Notification: Performance of Templates: time 0.02787/1.055, allocations: 15.59 MB / 1.153 GB, free: 1.395 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches