Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001532/0.001531, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001939/0.001939, allocations: 192.1 kB / 16.13 MB, free: 6.645 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.408/1.408, allocations: 222.9 MB / 239.8 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.578/2.578, allocations: 437 MB / 0.7099 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 63.91 kB / 0.8685 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6843/0.6856, allocations: 151.6 MB / 1.017 GB, free: 2.766 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.006664/0.6923, allocations: 4.706 MB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1684/0.8608, allocations: 148.3 MB / 1.166 GB, free: 9.199 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007664/0.8616, allocations: 19.88 kB / 1.166 GB, free: 9.18 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.000669/0.8623, allocations: 138.9 kB / 1.166 GB, free: 9.043 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001738/0.864, allocations: 469.7 kB / 1.167 GB, free: 8.586 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001988/0.866, allocations: 0.7323 MB / 1.167 GB, free: 7.859 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001608/0.8677, allocations: 1.288 MB / 1.169 GB, free: 6.566 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008718/0.8685, allocations: 0.5155 MB / 1.169 GB, free: 6.031 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006778/0.8692, allocations: 402.3 kB / 1.169 GB, free: 5.637 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006634/0.8699, allocations: 465.8 kB / 1.17 GB, free: 5.18 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001924/0.8701, allocations: 48 kB / 1.17 GB, free: 5.133 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001428/0.8715, allocations: 0.7918 MB / 1.171 GB, free: 4.34 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002671/0.8718, allocations: 219.1 kB / 1.171 GB, free: 4.125 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0005493/0.8724, allocations: 489.2 kB / 1.171 GB, free: 3.645 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002065/0.8745, allocations: 1.698 MB / 1.173 GB, free: 1.941 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.8745, allocations: 0 / 1.173 GB, free: 1.941 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.002e-06/0.8745, allocations: 0 / 1.173 GB, free: 1.941 MB / 0.92 GB Notification: Performance of Transformations before backend: time 3.346e-05/0.8745, allocations: 0 / 1.173 GB, free: 1.941 MB / 0.92 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.002905/0.8774, allocations: 1.446 MB / 1.174 GB, free: 456 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.8775, allocations: 15.98 kB / 1.174 GB, free: 440 kB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001254/0.8787, allocations: 203.4 kB / 1.175 GB, free: 236 kB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001135/0.8799, allocations: 0.7468 MB / 1.175 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.088e-05/0.88, allocations: 58 kB / 1.175 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001087/0.8801, allocations: 75.98 kB / 1.176 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00173/0.8818, allocations: 0.8919 MB / 1.176 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.676e-05/0.8819, allocations: 0 / 1.176 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.491e-05/0.8819, allocations: 32 kB / 1.176 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.673e-05/0.882, allocations: 20 kB / 1.176 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002072/0.884, allocations: 1.132 MB / 1.178 GB, free: 13.19 MB / 0.9356 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.00423/0.8883, allocations: 2.606 MB / 1.18 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001719/0.89, allocations: 0.8293 MB / 1.181 GB, free: 9.652 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007234/0.8908, allocations: 334.7 kB / 1.181 GB, free: 9.324 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 8.12e-05/0.8909, allocations: 36.59 kB / 1.181 GB, free: 9.289 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001126/0.892, allocations: 0.5356 MB / 1.182 GB, free: 8.738 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=82): time 2.604e-06/0.892, allocations: 0 / 1.182 GB, free: 8.738 MB / 0.9356 GB Notification: Performance of matching and sorting (n=82): time 0.003767/0.8958, allocations: 1.283 MB / 1.183 GB, free: 7.43 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.168e-05/0.8959, allocations: 192.5 kB / 1.183 GB, free: 7.195 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008348/0.8967, allocations: 0.6371 MB / 1.184 GB, free: 6.547 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 8.067e-05/0.8968, allocations: 45.64 kB / 1.184 GB, free: 6.496 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002875/0.8971, allocations: 384.5 kB / 1.184 GB, free: 6.113 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002188/0.8973, allocations: 264.2 kB / 1.185 GB, free: 5.852 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002699/0.8976, allocations: 174.5 kB / 1.185 GB, free: 5.676 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001886/0.8978, allocations: 390.7 kB / 1.185 GB, free: 5.285 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007062/0.8985, allocations: 297.8 kB / 1.185 GB, free: 4.996 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008189/0.8994, allocations: 403.9 kB / 1.186 GB, free: 4.578 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001466/0.9008, allocations: 0.6666 MB / 1.186 GB, free: 3.902 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.9009, allocations: 0 / 1.186 GB, free: 3.902 MB / 0.9356 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002422/0.9033, allocations: 0.919 MB / 1.187 GB, free: 2.973 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.9033, allocations: 8 kB / 1.187 GB, free: 2.965 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.9033, allocations: 0 / 1.187 GB, free: 2.965 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006236/0.904, allocations: 84.89 kB / 1.187 GB, free: 2.879 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008034/0.9048, allocations: 179.7 kB / 1.188 GB, free: 2.703 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002103/0.9069, allocations: 1.539 MB / 1.189 GB, free: 1.023 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008487/0.9077, allocations: 99.3 kB / 1.189 GB, free: 0.9258 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.991e-05/0.9078, allocations: 39.97 kB / 1.189 GB, free: 0.8867 MB / 0.9356 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.000449/0.9083, allocations: 263.9 kB / 1.189 GB, free: 0.6172 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001813/0.9085, allocations: 94.91 kB / 1.189 GB, free: 0.5234 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003048/0.9115, allocations: 1.199 MB / 1.191 GB, free: 15.31 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-05/0.9116, allocations: 11.98 kB / 1.191 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.9116, allocations: 0 / 1.191 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/0.9116, allocations: 7.984 kB / 1.191 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001112/0.9127, allocations: 0.9151 MB / 1.192 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.9127, allocations: 0 / 1.192 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007108/0.9135, allocations: 159.8 kB / 1.192 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005553/0.914, allocations: 84.77 kB / 1.192 GB, free: 14.08 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.463e-05/0.9141, allocations: 27.98 kB / 1.192 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001868/0.916, allocations: 1.559 MB / 1.193 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.916, allocations: 0 / 1.193 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002335/0.9183, allocations: 1.01 MB / 1.194 GB, free: 11.33 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003963/0.9187, allocations: 287.6 kB / 1.195 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001242/0.9189, allocations: 16 kB / 1.195 GB, free: 11.01 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006991/0.9196, allocations: 77.8 kB / 1.195 GB, free: 10.94 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001677/0.9198, allocations: 72.89 kB / 1.195 GB, free: 10.87 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.14e-05/0.9198, allocations: 39.97 kB / 1.195 GB, free: 10.83 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0006204/0.9205, allocations: 463 kB / 1.195 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9205, allocations: 0 / 1.195 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0008667/0.9214, allocations: 327.4 kB / 1.196 GB, free: 10.06 MB / 0.9512 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.001418/0.9228, allocations: 0.6265 MB / 1.196 GB, free: 9.605 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002066/0.9249, allocations: 0.8978 MB / 1.197 GB, free: 8.691 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.9249, allocations: 0 / 1.197 GB, free: 8.691 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001111/0.926, allocations: 0.5548 MB / 1.198 GB, free: 8.125 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001219/0.9272, allocations: 282.9 kB / 1.198 GB, free: 7.863 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003527/0.9308, allocations: 2.047 MB / 1.2 GB, free: 5.793 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006736/0.9315, allocations: 1.017 MB / 1.201 GB, free: 4.742 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001023/0.9325, allocations: 286.8 kB / 1.201 GB, free: 4.457 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002982/0.9328, allocations: 107.4 kB / 1.201 GB, free: 4.352 MB / 0.9512 GB Notification: Performance of SimCode: time 2.625e-06/0.9328, allocations: 0 / 1.201 GB, free: 4.352 MB / 0.9512 GB Notification: Performance of Templates: time 0.02667/0.9595, allocations: 15.18 MB / 1.216 GB, free: 5.352 MB / 0.9669 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.sim & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches