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.001239/0.001239, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.001315/0.001315, allocations: 168.7 kB / 15.95 MB, free: 204 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.523/1.523, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.874/2.874, allocations: 462.6 MB / 0.736 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000325/0.0003252, allocations: 13.09 kB / 0.9021 GB, free: 36.65 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3785/0.3788, allocations: 159.6 MB / 1.058 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.00607/0.3849, allocations: 4.05 MB / 1.062 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1816/0.5666, allocations: 136.8 MB / 1.196 GB, free: 8.039 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009317/0.5676, allocations: 15.94 kB / 1.196 GB, free: 8.023 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0005598/0.5682, allocations: 134.9 kB / 1.196 GB, free: 7.891 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001588/0.5698, allocations: 450.2 kB / 1.196 GB, free: 7.453 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001857/0.5716, allocations: 0.6313 MB / 1.197 GB, free: 6.828 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001386/0.573, allocations: 1.19 MB / 1.198 GB, free: 5.629 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006815/0.5737, allocations: 384.7 kB / 1.198 GB, free: 5.238 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006448/0.5744, allocations: 346.5 kB / 1.199 GB, free: 4.898 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005814/0.575, allocations: 386.1 kB / 1.199 GB, free: 4.52 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 8.393e-05/0.5751, allocations: 24 kB / 1.199 GB, free: 4.496 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001698/0.5768, allocations: 0.7216 MB / 1.2 GB, free: 3.773 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002182/0.577, allocations: 175.2 kB / 1.2 GB, free: 3.602 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002354/0.5772, allocations: 197.1 kB / 1.2 GB, free: 3.402 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.00156/0.5788, allocations: 1.282 MB / 1.201 GB, free: 2.117 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 1.138e-05/0.5788, allocations: 0 / 1.201 GB, free: 2.117 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.943e-06/0.5788, allocations: 7.938 kB / 1.201 GB, free: 2.109 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.782e-05/0.5789, allocations: 4 kB / 1.201 GB, free: 2.105 MB / 0.9512 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.002384/0.5813, allocations: 1.251 MB / 1.203 GB, free: 0.8047 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.5813, allocations: 16.03 kB / 1.203 GB, free: 0.7891 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001179/0.5825, allocations: 210.5 kB / 1.203 GB, free: 0.582 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001135/0.5836, allocations: 0.7156 MB / 1.203 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.969e-05/0.5837, allocations: 58 kB / 1.204 GB, free: 15.76 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000101/0.5838, allocations: 75.98 kB / 1.204 GB, free: 15.69 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001666/0.5855, allocations: 0.9074 MB / 1.204 GB, free: 14.74 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/0.5855, allocations: 0 / 1.204 GB, free: 14.74 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.509e-05/0.5856, allocations: 32 kB / 1.205 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.953e-05/0.5856, allocations: 16 kB / 1.205 GB, free: 14.69 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001959/0.5876, allocations: 1.136 MB / 1.206 GB, free: 13.55 MB / 0.9669 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.004265/0.5919, allocations: 2.637 MB / 1.208 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001561/0.5935, allocations: 0.8353 MB / 1.209 GB, free: 9.984 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006629/0.5941, allocations: 338.7 kB / 1.209 GB, free: 9.652 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 9.351e-05/0.5943, allocations: 32.61 kB / 1.209 GB, free: 9.617 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001058/0.5953, allocations: 0.528 MB / 1.21 GB, free: 9.074 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=82): time 2.715e-06/0.5953, allocations: 0 / 1.21 GB, free: 9.074 MB / 0.9669 GB Notification: Performance of matching and sorting (n=82): time 0.003506/0.5988, allocations: 1.311 MB / 1.211 GB, free: 7.734 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001097/0.599, allocations: 192.6 kB / 1.211 GB, free: 7.504 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008561/0.5998, allocations: 0.641 MB / 1.212 GB, free: 6.855 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 7.249e-05/0.5999, allocations: 37.7 kB / 1.212 GB, free: 6.812 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003404/0.6003, allocations: 376.5 kB / 1.212 GB, free: 6.438 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002545/0.6005, allocations: 264.2 kB / 1.213 GB, free: 6.176 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.51e-05/0.6006, allocations: 16 kB / 1.213 GB, free: 6.16 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001848/0.6008, allocations: 394.8 kB / 1.213 GB, free: 5.766 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006548/0.6014, allocations: 305.7 kB / 1.213 GB, free: 5.465 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007282/0.6022, allocations: 407.9 kB / 1.214 GB, free: 5.051 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007213/0.6029, allocations: 346.8 kB / 1.214 GB, free: 4.715 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.6029, allocations: 0 / 1.214 GB, free: 4.715 MB / 0.9669 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002164/0.6051, allocations: 0.9307 MB / 1.215 GB, free: 3.77 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/0.6051, allocations: 4 kB / 1.215 GB, free: 3.766 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.6051, allocations: 4 kB / 1.215 GB, free: 3.762 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005438/0.6057, allocations: 84.89 kB / 1.215 GB, free: 3.676 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007294/0.6064, allocations: 187.7 kB / 1.215 GB, free: 3.492 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00207/0.6085, allocations: 1.538 MB / 1.217 GB, free: 1.816 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008452/0.6094, allocations: 107.4 kB / 1.217 GB, free: 1.711 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.991e-05/0.6095, allocations: 39.97 kB / 1.217 GB, free: 1.672 MB / 0.9669 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.0005098/0.61, allocations: 275.8 kB / 1.217 GB, free: 1.395 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001401/0.6101, allocations: 82.97 kB / 1.217 GB, free: 1.312 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002911/0.613, allocations: 1.229 MB / 1.218 GB, free: 68 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.486e-05/0.6131, allocations: 12 kB / 1.218 GB, free: 56 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.6131, allocations: 0 / 1.218 GB, free: 56 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.199e-05/0.6131, allocations: 3.984 kB / 1.218 GB, free: 52 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001526/0.6146, allocations: 0.9113 MB / 1.219 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.086e-05/0.6147, allocations: 0 / 1.219 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006817/0.6153, allocations: 167.8 kB / 1.219 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004804/0.6158, allocations: 80.78 kB / 1.22 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.77e-05/0.6159, allocations: 31.97 kB / 1.22 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001919/0.6179, allocations: 1.563 MB / 1.221 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.6179, allocations: 144 / 1.221 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002441/0.6203, allocations: 1.018 MB / 1.222 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005734/0.6209, allocations: 299.6 kB / 1.222 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002035/0.6211, allocations: 23.95 kB / 1.222 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008275/0.622, allocations: 91.92 kB / 1.222 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001947/0.6222, allocations: 76.89 kB / 1.223 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.083e-05/0.6223, allocations: 43.91 kB / 1.223 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0007501/0.623, allocations: 451 kB / 1.223 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2e-07/0.6231, allocations: 3.938 kB / 1.223 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.00113/0.6242, allocations: 327.3 kB / 1.223 GB, free: 10.77 MB / 0.9825 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.001646/0.6258, allocations: 0.6103 MB / 1.224 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.002278/0.6281, allocations: 0.9134 MB / 1.225 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.6282, allocations: 0 / 1.225 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001155/0.6293, allocations: 0.5626 MB / 1.225 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001307/0.6306, allocations: 265.6 kB / 1.226 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003786/0.6344, allocations: 2.033 MB / 1.228 GB, free: 6.523 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007964/0.6353, allocations: 1.016 MB / 1.229 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001106/0.6364, allocations: 290.7 kB / 1.229 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003504/0.6368, allocations: 111.4 kB / 1.229 GB, free: 5.074 MB / 0.9825 GB Notification: Performance of SimCode: time 1.372e-06/0.6368, allocations: 0 / 1.229 GB, free: 5.074 MB / 0.9825 GB Notification: Performance of Templates: time 0.03082/0.6676, allocations: 14.64 MB / 1.243 GB, free: 6.621 MB / 0.9981 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches