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.001079/0.001079, allocations: 104.1 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.00111/0.00111, allocations: 191 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.348/1.348, allocations: 222.9 MB / 240.9 MB, free: 15.29 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.172/2.172, allocations: 390.3 MB / 0.6653 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 62.3 kB / 0.8132 GB, free: 33.04 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2864/0.2877, allocations: 140.4 MB / 0.9503 GB, free: 8.895 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.006676/0.2945, allocations: 4.427 MB / 0.9546 GB, free: 4.441 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.7367/1.031, allocations: 150.6 MB / 1.102 GB, free: 4.789 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001024/1.032, allocations: 15.91 kB / 1.102 GB, free: 4.789 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006494/1.033, allocations: 173 kB / 1.102 GB, free: 4.789 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002243/1.035, allocations: 0.5167 MB / 1.102 GB, free: 4.777 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002594/1.038, allocations: 0.8246 MB / 1.103 GB, free: 4.77 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.00263/1.041, allocations: 1.34 MB / 1.104 GB, free: 4.762 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001116/1.042, allocations: 0.56 MB / 1.105 GB, free: 4.645 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001246/1.043, allocations: 470.5 kB / 1.105 GB, free: 4.645 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009446/1.044, allocations: 487.6 kB / 1.106 GB, free: 4.645 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002597/1.044, allocations: 109.5 kB / 1.106 GB, free: 4.645 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002396/1.047, allocations: 0.8517 MB / 1.107 GB, free: 4.625 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0004024/1.047, allocations: 283 kB / 1.107 GB, free: 4.625 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0008156/1.048, allocations: 0.522 MB / 1.108 GB, free: 4.625 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.003601/1.051, allocations: 1.736 MB / 1.109 GB, free: 4.52 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/1.051, allocations: 1.703 kB / 1.109 GB, free: 4.52 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.774e-06/1.051, allocations: 0.5312 kB / 1.109 GB, free: 4.52 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.109e-05/1.051, allocations: 0 / 1.109 GB, free: 4.52 MB / 0.8575 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.003972/1.055, allocations: 1.441 MB / 1.111 GB, free: 19.73 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.939e-05/1.056, allocations: 14.19 kB / 1.111 GB, free: 19.73 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001507/1.057, allocations: 201.9 kB / 1.111 GB, free: 19.67 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001365/1.058, allocations: 0.7421 MB / 1.112 GB, free: 19.36 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.554e-05/1.058, allocations: 57.23 kB / 1.112 GB, free: 19.35 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001145/1.059, allocations: 73.59 kB / 1.112 GB, free: 19.35 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001955/1.061, allocations: 0.8951 MB / 1.113 GB, free: 19.2 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.939e-05/1.061, allocations: 0 / 1.113 GB, free: 19.2 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.035e-05/1.061, allocations: 34.92 kB / 1.113 GB, free: 19.2 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.336e-05/1.061, allocations: 21.62 kB / 1.113 GB, free: 19.19 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002319/1.063, allocations: 1.13 MB / 1.114 GB, free: 19.18 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004773/1.068, allocations: 2.495 MB / 1.116 GB, free: 18.34 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001709/1.07, allocations: 0.8317 MB / 1.117 GB, free: 18.3 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007051/1.07, allocations: 335.7 kB / 1.117 GB, free: 18.29 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 8.345e-05/1.07, allocations: 33.69 kB / 1.117 GB, free: 18.29 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001212/1.072, allocations: 0.5299 MB / 1.118 GB, free: 18.2 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=82): time 3.066e-06/1.072, allocations: 0 / 1.118 GB, free: 18.2 MB / 0.8731 GB Notification: Performance of matching and sorting (n=82): time 0.003995/1.076, allocations: 1.291 MB / 1.119 GB, free: 18 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001206/1.076, allocations: 192.9 kB / 1.119 GB, free: 17.78 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009948/1.077, allocations: 0.6337 MB / 1.12 GB, free: 17.66 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001342/1.077, allocations: 45.34 kB / 1.12 GB, free: 17.62 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003001/1.077, allocations: 386.7 kB / 1.12 GB, free: 17.45 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002252/1.078, allocations: 263.9 kB / 1.121 GB, free: 17.29 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002806/1.078, allocations: 168.6 kB / 1.121 GB, free: 17.26 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001962/1.078, allocations: 388.8 kB / 1.121 GB, free: 16.95 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007347/1.079, allocations: 294.7 kB / 1.121 GB, free: 16.95 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009451/1.08, allocations: 405.6 kB / 1.122 GB, free: 16.89 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001392/1.081, allocations: 0.6708 MB / 1.122 GB, free: 16.82 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/1.081, allocations: 0.9375 kB / 1.122 GB, free: 16.82 MB / 0.8731 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002558/1.084, allocations: 0.9269 MB / 1.123 GB, free: 16.71 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/1.084, allocations: 5.5 kB / 1.123 GB, free: 16.71 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.908e-06/1.084, allocations: 2.406 kB / 1.123 GB, free: 16.71 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006131/1.084, allocations: 82.36 kB / 1.123 GB, free: 16.7 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007758/1.085, allocations: 174.9 kB / 1.124 GB, free: 16.7 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002324/1.087, allocations: 1.653 MB / 1.125 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001197/1.089, allocations: 104.1 kB / 1.125 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001078/1.089, allocations: 38.09 kB / 1.125 GB, free: 15.27 MB / 0.8731 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.0006924/1.09, allocations: 265.7 kB / 1.126 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00026/1.09, allocations: 87.5 kB / 1.126 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003194/1.093, allocations: 1.201 MB / 1.127 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.556e-05/1.093, allocations: 14.06 kB / 1.127 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/1.093, allocations: 3.594 kB / 1.127 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.491e-05/1.093, allocations: 4.547 kB / 1.127 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001304/1.094, allocations: 0.9193 MB / 1.128 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/1.094, allocations: 0 / 1.128 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006745/1.095, allocations: 168.3 kB / 1.128 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004662/1.096, allocations: 72.88 kB / 1.128 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.384e-05/1.096, allocations: 28.73 kB / 1.128 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00196/1.098, allocations: 1.675 MB / 1.13 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/1.098, allocations: 3.656 kB / 1.13 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00234/1.1, allocations: 1.003 MB / 1.131 GB, free: 13.17 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004287/1.1, allocations: 285.3 kB / 1.131 GB, free: 13.01 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001324/1.101, allocations: 20.03 kB / 1.131 GB, free: 13.01 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006555/1.101, allocations: 74.73 kB / 1.131 GB, free: 13.01 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001702/1.101, allocations: 74.02 kB / 1.131 GB, free: 13.01 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.663e-05/1.101, allocations: 37.61 kB / 1.131 GB, free: 13.01 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0006418/1.102, allocations: 464.6 kB / 1.132 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/1.102, allocations: 0 / 1.132 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0012/1.103, allocations: 317.2 kB / 1.132 GB, free: 12.87 MB / 0.8731 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.00143/1.105, allocations: 0.6301 MB / 1.133 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002942/1.108, allocations: 1.115 MB / 1.134 GB, free: 12.49 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.678e-06/1.108, allocations: 0.9375 kB / 1.134 GB, free: 12.49 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001117/1.109, allocations: 0.5543 MB / 1.134 GB, free: 12.37 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001344/1.11, allocations: 296.3 kB / 1.134 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004119/1.114, allocations: 1.807 MB / 1.136 GB, free: 11.68 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006642/1.115, allocations: 1.019 MB / 1.137 GB, free: 10.96 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000447/1.115, allocations: 125.9 kB / 1.137 GB, free: 10.95 MB / 0.8731 GB Notification: Performance of SimCode: time 7.91e-07/1.115, allocations: 0 / 1.137 GB, free: 10.95 MB / 0.8731 GB Notification: Performance of Templates: time 0.02958/1.145, allocations: 18.87 MB / 1.156 GB, free: 4.27 MB / 0.8731 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