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.001507/0.001507, 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.001825/0.001825, allocations: 195.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.344/1.344, allocations: 222.9 MB / 240.2 MB, free: 4.379 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.333/2.333, allocations: 390.2 MB / 0.6647 GB, free: 464 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 67.89 kB / 0.8125 GB, free: 14.47 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.713/0.7144, allocations: 140.4 MB / 0.9496 GB, free: 9.371 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.005492/0.72, allocations: 4.427 MB / 0.9539 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1799/0.8999, allocations: 150.6 MB / 1.101 GB, free: 6.43 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001405/0.9014, allocations: 15.94 kB / 1.101 GB, free: 6.414 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0009665/0.9024, allocations: 178.3 kB / 1.101 GB, free: 6.238 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.003039/0.9055, allocations: 0.5064 MB / 1.102 GB, free: 5.734 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002682/0.9082, allocations: 0.821 MB / 1.102 GB, free: 4.918 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.00198/0.9102, allocations: 1.343 MB / 1.104 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001061/0.9113, allocations: 0.5621 MB / 1.104 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008853/0.9122, allocations: 466.4 kB / 1.105 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008297/0.913, allocations: 497.8 kB / 1.105 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0003305/0.9133, allocations: 112 kB / 1.105 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001828/0.9152, allocations: 0.8388 MB / 1.106 GB, free: 1.09 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003864/0.9156, allocations: 295 kB / 1.106 GB, free: 0.8008 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0008064/0.9164, allocations: 0.5129 MB / 1.107 GB, free: 292 kB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.003173/0.9196, allocations: 1.737 MB / 1.109 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.9196, allocations: 0 / 1.109 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.304e-06/0.9196, allocations: 0 / 1.109 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 5.814e-05/0.9197, allocations: 4 kB / 1.109 GB, free: 14.54 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.003252/0.9229, allocations: 1.442 MB / 1.11 GB, free: 13.05 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.923, allocations: 8.031 kB / 1.11 GB, free: 13.04 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001174/0.9242, allocations: 211.4 kB / 1.11 GB, free: 12.83 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0011/0.9253, allocations: 0.743 MB / 1.111 GB, free: 12.05 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.943e-05/0.9253, allocations: 54 kB / 1.111 GB, free: 11.99 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.925e-05/0.9255, allocations: 68 kB / 1.111 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001637/0.9271, allocations: 0.8996 MB / 1.112 GB, free: 10.98 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.77e-05/0.9271, allocations: 4 kB / 1.112 GB, free: 10.98 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.783e-05/0.9272, allocations: 32 kB / 1.112 GB, free: 10.95 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.811e-05/0.9272, allocations: 20 kB / 1.112 GB, free: 10.93 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001947/0.9292, allocations: 1.12 MB / 1.113 GB, free: 9.805 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003976/0.9332, allocations: 2.504 MB / 1.116 GB, free: 7.23 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001637/0.9348, allocations: 0.8278 MB / 1.116 GB, free: 6.398 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006632/0.9355, allocations: 330.7 kB / 1.117 GB, free: 6.07 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 8.14e-05/0.9356, allocations: 40.58 kB / 1.117 GB, free: 6.031 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001096/0.9367, allocations: 0.5307 MB / 1.117 GB, free: 5.484 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=82): time 2.986e-06/0.9367, allocations: 0 / 1.117 GB, free: 5.484 MB / 0.8731 GB Notification: Performance of matching and sorting (n=82): time 0.003588/0.9403, allocations: 1.291 MB / 1.118 GB, free: 4.164 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.969e-05/0.9404, allocations: 188.6 kB / 1.119 GB, free: 3.938 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008017/0.9412, allocations: 0.641 MB / 1.119 GB, free: 3.289 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.774e-05/0.9413, allocations: 45.64 kB / 1.119 GB, free: 3.238 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003009/0.9416, allocations: 376.5 kB / 1.12 GB, free: 2.863 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002185/0.9419, allocations: 268.2 kB / 1.12 GB, free: 2.598 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002579/0.9421, allocations: 170.5 kB / 1.12 GB, free: 2.422 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001552/0.9423, allocations: 390.7 kB / 1.12 GB, free: 2.031 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006896/0.943, allocations: 309.8 kB / 1.121 GB, free: 1.73 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007812/0.9438, allocations: 399.9 kB / 1.121 GB, free: 1.32 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001402/0.9452, allocations: 0.6705 MB / 1.122 GB, free: 0.6328 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.9452, allocations: 0 / 1.122 GB, free: 0.6328 MB / 0.8731 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.00228/0.9475, allocations: 0.9189 MB / 1.123 GB, free: 15.71 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.9475, allocations: 8 kB / 1.123 GB, free: 15.7 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.9475, allocations: 0 / 1.123 GB, free: 15.7 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005837/0.9481, allocations: 80.89 kB / 1.123 GB, free: 15.62 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007451/0.9489, allocations: 183.7 kB / 1.123 GB, free: 15.44 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002257/0.9511, allocations: 1.642 MB / 1.125 GB, free: 13.64 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008366/0.952, allocations: 95.34 kB / 1.125 GB, free: 13.55 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001031/0.9521, allocations: 39.97 kB / 1.125 GB, free: 13.51 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.0004648/0.9526, allocations: 272.1 kB / 1.125 GB, free: 13.24 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002141/0.9528, allocations: 86.95 kB / 1.125 GB, free: 13.15 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002942/0.9558, allocations: 1.202 MB / 1.126 GB, free: 11.93 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.697e-06/0.9558, allocations: 12 kB / 1.126 GB, free: 11.92 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.9558, allocations: 0 / 1.126 GB, free: 11.92 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.183e-05/0.9558, allocations: 7.922 kB / 1.126 GB, free: 11.91 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001095/0.9569, allocations: 0.9111 MB / 1.127 GB, free: 10.95 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/0.9569, allocations: 4 kB / 1.127 GB, free: 10.95 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006482/0.9576, allocations: 163.7 kB / 1.127 GB, free: 10.79 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004611/0.9581, allocations: 76.78 kB / 1.127 GB, free: 10.71 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.674e-05/0.9581, allocations: 23.98 kB / 1.127 GB, free: 10.68 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001822/0.96, allocations: 1.673 MB / 1.129 GB, free: 8.867 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.96, allocations: 0 / 1.129 GB, free: 8.867 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002247/0.9622, allocations: 1.006 MB / 1.13 GB, free: 7.84 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003792/0.9626, allocations: 287.6 kB / 1.13 GB, free: 7.539 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001456/0.9628, allocations: 19.98 kB / 1.13 GB, free: 7.52 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006854/0.9635, allocations: 82.02 kB / 1.13 GB, free: 7.441 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000188/0.9637, allocations: 76.83 kB / 1.13 GB, free: 7.367 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.193e-05/0.9638, allocations: 39.97 kB / 1.13 GB, free: 7.328 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0005482/0.9643, allocations: 459 kB / 1.131 GB, free: 6.883 MB / 0.8887 GB Notification: Performance of sort global known variables: time 3.21e-07/0.9643, allocations: 4 kB / 1.131 GB, free: 6.879 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.000858/0.9652, allocations: 327.3 kB / 1.131 GB, free: 6.559 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.001429/0.9666, allocations: 0.6123 MB / 1.132 GB, free: 6.117 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002762/0.9694, allocations: 1.113 MB / 1.133 GB, free: 4.988 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.9694, allocations: 0 / 1.133 GB, free: 4.988 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001091/0.9705, allocations: 0.5549 MB / 1.133 GB, free: 4.422 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001177/0.9717, allocations: 307.8 kB / 1.134 GB, free: 4.145 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003969/0.9757, allocations: 1.78 MB / 1.136 GB, free: 2.344 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000616/0.9763, allocations: 1.016 MB / 1.136 GB, free: 1.301 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0009268/0.9772, allocations: 278.8 kB / 1.137 GB, free: 1.023 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002949/0.9775, allocations: 115.3 kB / 1.137 GB, free: 0.9102 MB / 0.8887 GB Notification: Performance of SimCode: time 8.12e-07/0.9776, allocations: 0 / 1.137 GB, free: 0.9102 MB / 0.8887 GB Notification: Performance of Templates: time 0.02627/1.004, allocations: 15.58 MB / 1.152 GB, free: 1.5 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