Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.007168/0.007168, allocations: 97.36 kB / 15.73 MB, free: 6.039 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.001488/0.001488, allocations: 201.9 kB / 16.68 MB, free: 5.961 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.389/1.389, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.716/2.716, allocations: 469.8 MB / 0.7425 GB, free: 7.336 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 67.89 kB / 1.065 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2962/0.2974, allocations: 159.1 MB / 1.221 GB, free: 13.85 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.00574/0.3032, allocations: 4.701 MB / 1.225 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.9179/1.221, allocations: 151 MB / 1.373 GB, free: 11.08 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009536/1.222, allocations: 16 kB / 1.373 GB, free: 11.07 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0007992/1.223, allocations: 186.6 kB / 1.373 GB, free: 10.95 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002096/1.225, allocations: 0.5382 MB / 1.373 GB, free: 10.64 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.00222/1.227, allocations: 0.8469 MB / 1.374 GB, free: 10.2 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001757/1.229, allocations: 1.378 MB / 1.376 GB, free: 9.5 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007211/1.23, allocations: 373.8 kB / 1.376 GB, free: 9.273 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007513/1.23, allocations: 487.6 kB / 1.376 GB, free: 9.035 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006106/1.231, allocations: 495.8 kB / 1.377 GB, free: 8.785 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001854/1.231, allocations: 109.8 kB / 1.377 GB, free: 8.785 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001694/1.233, allocations: 0.8778 MB / 1.378 GB, free: 8.551 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002918/1.233, allocations: 285.3 kB / 1.378 GB, free: 8.371 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0004763/1.234, allocations: 0.5286 MB / 1.379 GB, free: 8.016 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002261/1.236, allocations: 1.797 MB / 1.38 GB, free: 6.914 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/1.236, allocations: 0 / 1.38 GB, free: 6.914 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.233e-06/1.236, allocations: 0 / 1.38 GB, free: 6.914 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.503e-05/1.236, allocations: 0 / 1.38 GB, free: 6.914 MB / 1.076 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.002789/1.239, allocations: 1.497 MB / 1.382 GB, free: 5.719 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/1.239, allocations: 10.06 kB / 1.382 GB, free: 5.719 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001223/1.24, allocations: 210.3 kB / 1.382 GB, free: 5.617 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001135/1.241, allocations: 0.7676 MB / 1.383 GB, free: 4.988 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.192e-05/1.241, allocations: 56.97 kB / 1.383 GB, free: 4.965 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001108/1.241, allocations: 72.09 kB / 1.383 GB, free: 4.941 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001746/1.243, allocations: 0.8904 MB / 1.384 GB, free: 4.355 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.168e-05/1.243, allocations: 0 / 1.384 GB, free: 4.355 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.605e-05/1.243, allocations: 40.89 kB / 1.384 GB, free: 4.324 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.387e-05/1.243, allocations: 18 kB / 1.384 GB, free: 4.324 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00215/1.245, allocations: 1.127 MB / 1.385 GB, free: 3.789 MB / 1.076 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.004354/1.25, allocations: 2.585 MB / 1.387 GB, free: 1.723 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001744/1.251, allocations: 0.7838 MB / 1.388 GB, free: 1.32 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006828/1.252, allocations: 311.6 kB / 1.388 GB, free: 1.156 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 7.709e-05/1.252, allocations: 31.48 kB / 1.389 GB, free: 1.137 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001063/1.253, allocations: 0.5298 MB / 1.389 GB, free: 0.7969 MB / 1.076 GB Notification: Performance of pre-optimization done (n=82): time 2.645e-06/1.253, allocations: 0 / 1.389 GB, free: 0.7969 MB / 1.076 GB Notification: Performance of matching and sorting (n=82): time 0.003788/1.257, allocations: 1.287 MB / 1.39 GB, free: 104 kB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001209/1.257, allocations: 194 kB / 1.39 GB, free: 15.88 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008646/1.258, allocations: 0.6411 MB / 1.391 GB, free: 15.5 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 8.02e-05/1.258, allocations: 43.36 kB / 1.391 GB, free: 15.46 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002974/1.258, allocations: 390.3 kB / 1.392 GB, free: 15.12 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.00022/1.259, allocations: 275.3 kB / 1.392 GB, free: 14.88 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002828/1.259, allocations: 169.9 kB / 1.392 GB, free: 14.78 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001578/1.259, allocations: 389.2 kB / 1.392 GB, free: 14.41 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006809/1.26, allocations: 294.7 kB / 1.393 GB, free: 14.26 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007905/1.261, allocations: 406.1 kB / 1.393 GB, free: 14.03 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001453/1.262, allocations: 0.6734 MB / 1.394 GB, free: 13.66 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/1.262, allocations: 5.562 kB / 1.394 GB, free: 13.66 MB / 1.092 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002371/1.264, allocations: 0.9234 MB / 1.395 GB, free: 13.18 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/1.264, allocations: 5.5 kB / 1.395 GB, free: 13.18 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/1.264, allocations: 1.375 kB / 1.395 GB, free: 13.18 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006267/1.265, allocations: 86.27 kB / 1.395 GB, free: 13.14 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007722/1.266, allocations: 180.9 kB / 1.395 GB, free: 13.09 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002386/1.268, allocations: 1.652 MB / 1.396 GB, free: 11.47 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00096/1.269, allocations: 103.6 kB / 1.397 GB, free: 11.4 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001023/1.269, allocations: 43.34 kB / 1.397 GB, free: 11.39 MB / 1.092 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.0005049/1.27, allocations: 266 kB / 1.397 GB, free: 11.18 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002229/1.27, allocations: 92.59 kB / 1.397 GB, free: 11.13 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00295/1.273, allocations: 1.203 MB / 1.398 GB, free: 10.47 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.238e-05/1.273, allocations: 12.81 kB / 1.398 GB, free: 10.46 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/1.273, allocations: 1.531 kB / 1.398 GB, free: 10.46 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.409e-05/1.273, allocations: 7.969 kB / 1.398 GB, free: 10.46 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00123/1.274, allocations: 0.9077 MB / 1.399 GB, free: 9.762 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.869e-06/1.274, allocations: 3.984 kB / 1.399 GB, free: 9.758 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006974/1.275, allocations: 157.7 kB / 1.399 GB, free: 9.723 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004711/1.275, allocations: 74.16 kB / 1.399 GB, free: 9.684 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.278e-05/1.275, allocations: 25.42 kB / 1.399 GB, free: 9.668 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001909/1.277, allocations: 1.677 MB / 1.401 GB, free: 8.031 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/1.277, allocations: 0 / 1.401 GB, free: 8.031 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002258/1.28, allocations: 1.007 MB / 1.402 GB, free: 7.5 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004443/1.28, allocations: 289.1 kB / 1.402 GB, free: 7.246 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001691/1.28, allocations: 25.88 kB / 1.402 GB, free: 7.227 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007085/1.281, allocations: 72 kB / 1.402 GB, free: 7.191 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001797/1.281, allocations: 75.77 kB / 1.402 GB, free: 7.148 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.383e-05/1.281, allocations: 39.56 kB / 1.402 GB, free: 7.133 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0005999/1.282, allocations: 459.5 kB / 1.403 GB, free: 6.875 MB / 1.092 GB Notification: Performance of sort global known variables: time 1e-07/1.282, allocations: 4 kB / 1.403 GB, free: 6.871 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001031/1.283, allocations: 331.2 kB / 1.403 GB, free: 6.777 MB / 1.092 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.001517/1.284, allocations: 0.6268 MB / 1.404 GB, free: 6.484 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.002031/1.286, allocations: 0.8787 MB / 1.405 GB, free: 6.02 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/1.286, allocations: 2.75 kB / 1.405 GB, free: 6.02 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.00109/1.287, allocations: 0.5247 MB / 1.405 GB, free: 5.711 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001254/1.289, allocations: 307 kB / 1.405 GB, free: 5.551 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003214/1.292, allocations: 1.678 MB / 1.407 GB, free: 4.547 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006122/1.293, allocations: 1.018 MB / 1.408 GB, free: 3.707 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0008627/1.293, allocations: 278.7 kB / 1.408 GB, free: 3.566 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002993/1.294, allocations: 119.8 kB / 1.408 GB, free: 3.523 MB / 1.092 GB Notification: Performance of SimCode: time 7.72e-07/1.294, allocations: 0 / 1.408 GB, free: 3.523 MB / 1.092 GB Notification: Performance of Templates: time 0.02716/1.321, allocations: 16.09 MB / 1.424 GB, free: 4.371 MB / 1.107 GB make -j1 -f Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.makefile (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.sim & ./Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches