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.001725/0.001725, allocations: 105.7 kB / 16.27 MB, free: 6.414 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.001644/0.001645, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.443/1.443, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.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.523/2.523, allocations: 437.1 MB / 0.711 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 68.14 kB / 0.8699 GB, free: 2.211 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3025/0.3045, allocations: 151.6 MB / 1.018 GB, free: 10.65 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.007075/0.3116, allocations: 4.695 MB / 1.023 GB, free: 5.934 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.6513/0.963, allocations: 150.6 MB / 1.17 GB, free: 0.8945 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001019/0.964, allocations: 16.09 kB / 1.17 GB, free: 0.8906 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0006926/0.9648, allocations: 180 kB / 1.17 GB, free: 0.7734 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002032/0.9669, allocations: 0.5415 MB / 1.17 GB, free: 472 kB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002133/0.969, allocations: 0.8381 MB / 1.171 GB, free: 28 kB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001868/0.9709, allocations: 1.38 MB / 1.172 GB, free: 15.32 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008956/0.9718, allocations: 0.5335 MB / 1.173 GB, free: 15.04 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008184/0.9727, allocations: 471.7 kB / 1.173 GB, free: 14.81 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007072/0.9734, allocations: 496.6 kB / 1.174 GB, free: 14.56 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001869/0.9736, allocations: 109.3 kB / 1.174 GB, free: 14.56 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001821/0.9754, allocations: 0.8509 MB / 1.175 GB, free: 14.34 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003162/0.9757, allocations: 280.9 kB / 1.175 GB, free: 14.16 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0006348/0.9764, allocations: 0.5311 MB / 1.176 GB, free: 13.8 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002644/0.979, allocations: 1.746 MB / 1.177 GB, free: 12.6 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.9791, allocations: 1.5 kB / 1.177 GB, free: 12.6 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.134e-06/0.9791, allocations: 3.75 kB / 1.177 GB, free: 12.6 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 2.987e-05/0.9791, allocations: 0 / 1.177 GB, free: 12.6 MB / 0.8887 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.002985/0.9821, allocations: 1.457 MB / 1.179 GB, free: 11.45 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.9821, allocations: 15.06 kB / 1.179 GB, free: 11.44 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001202/0.9834, allocations: 204.4 kB / 1.179 GB, free: 11.34 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001136/0.9845, allocations: 0.7457 MB / 1.18 GB, free: 10.72 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.414e-05/0.9846, allocations: 53.62 kB / 1.18 GB, free: 10.7 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001016/0.9847, allocations: 76.11 kB / 1.18 GB, free: 10.67 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0017/0.9864, allocations: 0.8931 MB / 1.181 GB, free: 10.09 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.056e-05/0.9864, allocations: 1.688 kB / 1.181 GB, free: 10.09 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.015e-05/0.9865, allocations: 30.81 kB / 1.181 GB, free: 10.06 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.258e-05/0.9865, allocations: 18.59 kB / 1.181 GB, free: 10.06 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002183/0.9887, allocations: 1.131 MB / 1.182 GB, free: 9.52 MB / 0.8887 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.004488/0.9932, allocations: 2.605 MB / 1.184 GB, free: 7.449 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001704/0.9949, allocations: 0.8342 MB / 1.185 GB, free: 7.027 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006981/0.9957, allocations: 333 kB / 1.186 GB, free: 6.859 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 8.442e-05/0.9958, allocations: 30.98 kB / 1.186 GB, free: 6.844 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001057/0.9968, allocations: 0.5333 MB / 1.186 GB, free: 6.496 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=82): time 3.006e-06/0.9968, allocations: 2.875 kB / 1.186 GB, free: 6.496 MB / 0.8887 GB Notification: Performance of matching and sorting (n=82): time 0.003859/1.001, allocations: 1.288 MB / 1.187 GB, free: 5.805 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00014/1.001, allocations: 190.7 kB / 1.188 GB, free: 5.586 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009416/1.002, allocations: 0.6361 MB / 1.188 GB, free: 5.211 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001072/1.002, allocations: 50.94 kB / 1.188 GB, free: 5.16 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003624/1.002, allocations: 369.4 kB / 1.189 GB, free: 4.836 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002635/1.003, allocations: 266.1 kB / 1.189 GB, free: 4.605 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002793/1.003, allocations: 176.8 kB / 1.189 GB, free: 4.492 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0002173/1.003, allocations: 386.9 kB / 1.189 GB, free: 4.125 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006882/1.004, allocations: 300.2 kB / 1.19 GB, free: 3.98 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007975/1.005, allocations: 399.5 kB / 1.19 GB, free: 3.75 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001425/1.006, allocations: 0.6738 MB / 1.191 GB, free: 3.379 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/1.006, allocations: 0 / 1.191 GB, free: 3.379 MB / 0.8887 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002411/1.008, allocations: 0.9207 MB / 1.192 GB, free: 2.91 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/1.008, allocations: 5.594 kB / 1.192 GB, free: 2.91 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/1.008, allocations: 3.984 kB / 1.192 GB, free: 2.906 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006079/1.009, allocations: 83.59 kB / 1.192 GB, free: 2.867 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007392/1.01, allocations: 180.7 kB / 1.192 GB, free: 2.816 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002337/1.012, allocations: 1.647 MB / 1.193 GB, free: 1.195 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009486/1.013, allocations: 99.72 kB / 1.194 GB, free: 1.133 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.203e-05/1.013, allocations: 39.59 kB / 1.194 GB, free: 1.117 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.0005162/1.014, allocations: 275 kB / 1.194 GB, free: 0.9023 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002056/1.014, allocations: 86.28 kB / 1.194 GB, free: 0.8555 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002951/1.017, allocations: 1.207 MB / 1.195 GB, free: 192 kB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.438e-06/1.017, allocations: 10.12 kB / 1.195 GB, free: 192 kB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/1.017, allocations: 0 / 1.195 GB, free: 192 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.126e-05/1.017, allocations: 3.984 kB / 1.195 GB, free: 188 kB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001298/1.018, allocations: 0.9169 MB / 1.196 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/1.018, allocations: 0 / 1.196 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006728/1.019, allocations: 162.2 kB / 1.196 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004461/1.019, allocations: 74.25 kB / 1.196 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.464e-05/1.02, allocations: 32.16 kB / 1.196 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002032/1.022, allocations: 1.667 MB / 1.198 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.582e-06/1.022, allocations: 64 / 1.198 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002378/1.024, allocations: 1.011 MB / 1.199 GB, free: 13.22 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004817/1.024, allocations: 281.6 kB / 1.199 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001378/1.025, allocations: 21.28 kB / 1.199 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006754/1.025, allocations: 75.08 kB / 1.199 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001692/1.025, allocations: 76.08 kB / 1.199 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.429e-05/1.026, allocations: 37.06 kB / 1.199 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0006217/1.026, allocations: 463.2 kB / 1.2 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.9e-07/1.026, allocations: 0 / 1.2 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0009387/1.027, allocations: 319.7 kB / 1.2 GB, free: 12.52 MB / 0.9044 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.001924/1.029, allocations: 0.6265 MB / 1.201 GB, free: 12.22 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002988/1.032, allocations: 1.12 MB / 1.202 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 8.055e-06/1.032, allocations: 2.5 kB / 1.202 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001139/1.033, allocations: 0.5533 MB / 1.202 GB, free: 11.39 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001425/1.035, allocations: 304.7 kB / 1.203 GB, free: 11.24 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003091/1.038, allocations: 1.717 MB / 1.204 GB, free: 10.15 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006658/1.038, allocations: 1.02 MB / 1.205 GB, free: 9.102 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003806/1.039, allocations: 127.4 kB / 1.205 GB, free: 8.977 MB / 0.9044 GB Notification: Performance of SimCode: time 6.81e-07/1.039, allocations: 0 / 1.205 GB, free: 8.977 MB / 0.9044 GB Notification: Performance of Templates: time 0.02654/1.065, allocations: 18.94 MB / 1.224 GB, free: 6.113 MB / 0.92 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=400 -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches