Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001669/0.001669, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001973/0.001973, allocations: 193.6 kB / 16.53 MB, free: 6.664 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.375/1.375, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.698/2.698, allocations: 472.6 MB / 0.7451 GB, free: 4.617 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 61.5 kB / 0.912 GB, free: 33.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3372/0.3385, allocations: 159.9 MB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.006597/0.3451, allocations: 4.693 MB / 1.073 GB, free: 5.707 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1518/0.497, allocations: 150.6 MB / 1.22 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007157/0.4977, allocations: 15.94 kB / 1.22 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005074/0.4983, allocations: 174.3 kB / 1.22 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001506/0.4998, allocations: 0.5356 MB / 1.221 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001761/0.5015, allocations: 0.8293 MB / 1.221 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001268/0.5028, allocations: 1.378 MB / 1.223 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007612/0.5036, allocations: 0.535 MB / 1.223 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005723/0.5042, allocations: 478.4 kB / 1.224 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005237/0.5047, allocations: 497.8 kB / 1.224 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001497/0.5049, allocations: 108 kB / 1.224 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00141/0.5063, allocations: 0.8504 MB / 1.225 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002632/0.5066, allocations: 279.1 kB / 1.225 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004555/0.507, allocations: 0.5324 MB / 1.226 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001929/0.509, allocations: 1.749 MB / 1.228 GB, free: 6.551 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.509, allocations: 0 / 1.228 GB, free: 6.551 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.583e-06/0.509, allocations: 0 / 1.228 GB, free: 6.551 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.426e-05/0.509, allocations: 0 / 1.228 GB, free: 6.551 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.002399/0.5114, allocations: 1.454 MB / 1.229 GB, free: 5.047 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.5115, allocations: 8.031 kB / 1.229 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001206/0.5127, allocations: 207.5 kB / 1.229 GB, free: 4.836 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009655/0.5137, allocations: 0.7389 MB / 1.23 GB, free: 4.055 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.972e-05/0.5137, allocations: 58 kB / 1.23 GB, free: 3.996 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001013/0.5138, allocations: 75.98 kB / 1.23 GB, free: 3.922 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001526/0.5154, allocations: 0.8996 MB / 1.231 GB, free: 2.98 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.627e-05/0.5154, allocations: 0 / 1.231 GB, free: 2.98 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.994e-05/0.5155, allocations: 32 kB / 1.231 GB, free: 2.949 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.677e-05/0.5155, allocations: 16 kB / 1.231 GB, free: 2.934 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001974/0.5175, allocations: 1.128 MB / 1.232 GB, free: 1.805 MB / 0.9825 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.003877/0.5214, allocations: 2.607 MB / 1.235 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001589/0.523, allocations: 0.8404 MB / 1.235 GB, free: 14.26 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007008/0.5237, allocations: 334.7 kB / 1.236 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.084e-05/0.5238, allocations: 32.59 kB / 1.236 GB, free: 13.9 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001024/0.5248, allocations: 0.5306 MB / 1.236 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=82): time 3.636e-06/0.5248, allocations: 0 / 1.236 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of matching and sorting (n=82): time 0.003571/0.5284, allocations: 1.287 MB / 1.238 GB, free: 12.03 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.475e-05/0.5285, allocations: 188.6 kB / 1.238 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007395/0.5292, allocations: 0.6449 MB / 1.238 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.86e-05/0.5293, allocations: 45.69 kB / 1.238 GB, free: 11.1 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002727/0.5296, allocations: 372.6 kB / 1.239 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002008/0.5298, allocations: 268.1 kB / 1.239 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002554/0.5301, allocations: 174.5 kB / 1.239 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.5302, allocations: 394.6 kB / 1.24 GB, free: 9.891 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006942/0.5309, allocations: 301.8 kB / 1.24 GB, free: 9.594 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008115/0.5318, allocations: 399.9 kB / 1.24 GB, free: 9.188 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00143/0.5332, allocations: 0.6666 MB / 1.241 GB, free: 8.504 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.5332, allocations: 0 / 1.241 GB, free: 8.504 MB / 0.9981 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002283/0.5355, allocations: 0.9228 MB / 1.242 GB, free: 7.57 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.5355, allocations: 4 kB / 1.242 GB, free: 7.566 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.5355, allocations: 4.125 kB / 1.242 GB, free: 7.562 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006706/0.5362, allocations: 88.77 kB / 1.242 GB, free: 7.473 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007669/0.537, allocations: 175.7 kB / 1.242 GB, free: 7.301 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002094/0.5391, allocations: 1.648 MB / 1.244 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000835/0.54, allocations: 100.9 kB / 1.244 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.903e-05/0.54, allocations: 44.03 kB / 1.244 GB, free: 5.367 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.0004456/0.5405, allocations: 268.3 kB / 1.244 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001721/0.5407, allocations: 94.91 kB / 1.244 GB, free: 5.004 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002869/0.5436, allocations: 1.191 MB / 1.245 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.429e-05/0.5436, allocations: 8 kB / 1.245 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.5436, allocations: 4 kB / 1.245 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.268e-05/0.5436, allocations: 11.92 kB / 1.245 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001019/0.5446, allocations: 0.9151 MB / 1.246 GB, free: 2.812 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.5447, allocations: 3.938 kB / 1.246 GB, free: 2.809 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006796/0.5453, allocations: 159.8 kB / 1.246 GB, free: 2.652 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004517/0.5458, allocations: 76.78 kB / 1.246 GB, free: 2.574 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.027e-05/0.5459, allocations: 31.97 kB / 1.246 GB, free: 2.543 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001878/0.5478, allocations: 1.67 MB / 1.248 GB, free: 0.7266 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.5478, allocations: 0 / 1.248 GB, free: 0.7266 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5525/1.1, allocations: 0.9988 MB / 1.249 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007723/1.101, allocations: 282.6 kB / 1.249 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001567/1.101, allocations: 19.72 kB / 1.249 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007211/1.102, allocations: 71.02 kB / 1.249 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002274/1.102, allocations: 81.44 kB / 1.25 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.756e-05/1.102, allocations: 39.95 kB / 1.25 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007635/1.103, allocations: 465.2 kB / 1.25 GB, free: 183 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.4e-07/1.103, allocations: 0 / 1.25 GB, free: 183 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001102/1.104, allocations: 327.7 kB / 1.25 GB, free: 183 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.001423/1.106, allocations: 0.6187 MB / 1.251 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002961/1.109, allocations: 1.116 MB / 1.252 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/1.109, allocations: 1.094 kB / 1.252 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001066/1.11, allocations: 0.5505 MB / 1.253 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001172/1.111, allocations: 310.1 kB / 1.253 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00304/1.114, allocations: 1.675 MB / 1.254 GB, free: 182 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005233/1.115, allocations: 1.019 MB / 1.255 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009136/1.115, allocations: 283.1 kB / 1.256 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002722/1.116, allocations: 109.8 kB / 1.256 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of SimCode: time 5.01e-07/1.116, allocations: 0 / 1.256 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of Templates: time 0.02853/1.144, allocations: 15.87 MB / 1.271 GB, free: 178.7 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches