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.001483/0.001483, allocations: 102.3 kB / 16.4 MB, free: 6.406 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.001405/0.001405, allocations: 192.2 kB / 17.35 MB, free: 5.695 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.359/1.359, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.361/2.361, allocations: 390.3 MB / 0.6655 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001533/0.001533, allocations: 67.89 kB / 0.9515 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9004/0.9019, allocations: 140.4 MB / 1.089 GB, free: 5.484 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.005909/0.9079, allocations: 4.426 MB / 1.093 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1959/1.104, allocations: 150.6 MB / 1.24 GB, free: 0.8789 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001319/1.105, allocations: 19.75 kB / 1.24 GB, free: 0.8711 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0009394/1.106, allocations: 176.8 kB / 1.24 GB, free: 0.7148 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002504/1.109, allocations: 0.5176 MB / 1.241 GB, free: 340 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002747/1.111, allocations: 0.838 MB / 1.241 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002344/1.114, allocations: 1.355 MB / 1.243 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001134/1.115, allocations: 0.5546 MB / 1.243 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001051/1.116, allocations: 476.2 kB / 1.244 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001139/1.117, allocations: 494.2 kB / 1.244 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0004529/1.118, allocations: 109.5 kB / 1.244 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002287/1.12, allocations: 0.876 MB / 1.245 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004829/1.12, allocations: 287 kB / 1.245 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0009029/1.121, allocations: 0.5168 MB / 1.246 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003079/1.124, allocations: 1.774 MB / 1.248 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/1.124, allocations: 0 / 1.248 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.064e-06/1.124, allocations: 0 / 1.248 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.568e-05/1.125, allocations: 0 / 1.248 GB, free: 10.73 MB / 0.9825 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.002599/1.127, allocations: 1.446 MB / 1.249 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/1.127, allocations: 12.03 kB / 1.249 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001121/1.128, allocations: 199.5 kB / 1.249 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001081/1.129, allocations: 0.7702 MB / 1.25 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.926e-05/1.129, allocations: 58 kB / 1.25 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000101/1.13, allocations: 72 kB / 1.25 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001577/1.131, allocations: 0.8919 MB / 1.251 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/1.131, allocations: 0 / 1.251 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.823e-05/1.131, allocations: 32 kB / 1.251 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.768e-05/1.131, allocations: 23.94 kB / 1.251 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001934/1.133, allocations: 1.135 MB / 1.252 GB, free: 5.953 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003654/1.137, allocations: 2.469 MB / 1.255 GB, free: 3.414 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001584/1.138, allocations: 0.8351 MB / 1.255 GB, free: 2.574 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006737/1.139, allocations: 334.7 kB / 1.256 GB, free: 2.246 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.754e-05/1.139, allocations: 32.59 kB / 1.256 GB, free: 2.215 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001004/1.14, allocations: 0.5264 MB / 1.256 GB, free: 1.668 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=82): time 2.314e-06/1.14, allocations: 4 kB / 1.256 GB, free: 1.664 MB / 0.9825 GB Notification: Performance of matching and sorting (n=82): time 0.003488/1.144, allocations: 1.285 MB / 1.258 GB, free: 360 kB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/1.144, allocations: 196.6 kB / 1.258 GB, free: 120 kB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007965/1.145, allocations: 0.641 MB / 1.258 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.058e-05/1.145, allocations: 41.7 kB / 1.258 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002811/1.145, allocations: 372.6 kB / 1.259 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001962/1.145, allocations: 264.2 kB / 1.259 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002579/1.146, allocations: 178.4 kB / 1.259 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001537/1.146, allocations: 394.7 kB / 1.26 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006671/1.146, allocations: 297.8 kB / 1.26 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000767/1.147, allocations: 399.9 kB / 1.26 GB, free: 13.51 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00141/1.149, allocations: 0.6666 MB / 1.261 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/1.149, allocations: 0 / 1.261 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002268/1.151, allocations: 0.9191 MB / 1.262 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.797e-05/1.151, allocations: 14.59 kB / 1.262 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/1.151, allocations: 4 kB / 1.262 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006219/1.152, allocations: 84.72 kB / 1.262 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007754/1.152, allocations: 175.8 kB / 1.262 GB, free: 11.63 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002301/1.155, allocations: 1.642 MB / 1.264 GB, free: 9.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009796/1.156, allocations: 95.31 kB / 1.264 GB, free: 9.746 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001014/1.156, allocations: 39.97 kB / 1.264 GB, free: 9.707 MB / 0.9981 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.0005897/1.156, allocations: 275.9 kB / 1.264 GB, free: 9.43 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002015/1.157, allocations: 86.97 kB / 1.264 GB, free: 9.344 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002804/1.159, allocations: 1.206 MB / 1.265 GB, free: 8.121 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.738e-06/1.159, allocations: 12 kB / 1.265 GB, free: 8.109 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/1.159, allocations: 0 / 1.265 GB, free: 8.109 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.285e-05/1.159, allocations: 11.92 kB / 1.265 GB, free: 8.098 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001044/1.16, allocations: 0.9074 MB / 1.266 GB, free: 7.141 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/1.161, allocations: 0 / 1.266 GB, free: 7.141 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006648/1.161, allocations: 159.7 kB / 1.266 GB, free: 6.984 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004168/1.162, allocations: 76.78 kB / 1.266 GB, free: 6.906 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.992e-05/1.162, allocations: 27.97 kB / 1.266 GB, free: 6.879 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001835/1.164, allocations: 1.67 MB / 1.268 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/1.164, allocations: 0 / 1.268 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002173/1.166, allocations: 1.006 MB / 1.269 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003804/1.166, allocations: 283.7 kB / 1.269 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001274/1.166, allocations: 24 kB / 1.269 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006357/1.167, allocations: 71.92 kB / 1.269 GB, free: 3.645 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001736/1.167, allocations: 76.89 kB / 1.27 GB, free: 3.57 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.306e-05/1.167, allocations: 39.97 kB / 1.27 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006233/1.168, allocations: 459 kB / 1.27 GB, free: 3.086 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.41e-07/1.168, allocations: 0 / 1.27 GB, free: 3.086 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008873/1.169, allocations: 327.2 kB / 1.27 GB, free: 2.766 MB / 0.9981 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.001417/1.17, allocations: 0.625 MB / 1.271 GB, free: 2.312 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002033/1.172, allocations: 0.8978 MB / 1.272 GB, free: 1.398 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/1.172, allocations: 0 / 1.272 GB, free: 1.398 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001034/1.173, allocations: 0.5626 MB / 1.272 GB, free: 0.8242 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001206/1.174, allocations: 294.5 kB / 1.273 GB, free: 0.5586 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00404/1.178, allocations: 1.8 MB / 1.274 GB, free: 14.73 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005805/1.179, allocations: 1.016 MB / 1.275 GB, free: 13.68 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003964/1.179, allocations: 127.4 kB / 1.276 GB, free: 13.56 MB / 1.014 GB Notification: Performance of SimCode: time 6.91e-07/1.179, allocations: 0 / 1.276 GB, free: 13.56 MB / 1.014 GB Notification: Performance of Templates: time 0.02692/1.206, allocations: 18.97 MB / 1.294 GB, free: 10.66 MB / 1.029 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/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