Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.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.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|relAirMas.relAirMas",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|relAirMas.relAirMas",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001614/0.001614, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001969/0.001969, allocations: 195.9 kB / 16.25 MB, free: 6.629 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.433/1.433, allocations: 222.9 MB / 239.9 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.859/2.859, allocations: 472.6 MB / 0.7448 GB, free: 4.953 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 67.77 kB / 0.9116 GB, free: 33.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3143/0.3156, allocations: 159.9 MB / 1.068 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.006228/0.3218, allocations: 5.127 MB / 1.073 GB, free: 5.695 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1574/0.4792, allocations: 148.4 MB / 1.218 GB, free: 0.6992 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001007/0.4803, allocations: 19.88 kB / 1.218 GB, free: 0.6797 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.000848/0.4812, allocations: 150.8 kB / 1.218 GB, free: 0.5312 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002085/0.4833, allocations: 0.4933 MB / 1.218 GB, free: 40 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002064/0.4854, allocations: 0.7589 MB / 1.219 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001811/0.4872, allocations: 1.432 MB / 1.22 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009843/0.4882, allocations: 0.656 MB / 1.221 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007582/0.489, allocations: 0.51 MB / 1.222 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005696/0.4895, allocations: 0.5485 MB / 1.222 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001553/0.4897, allocations: 124 kB / 1.222 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008355/0.4906, allocations: 475.6 kB / 1.223 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002561/0.4908, allocations: 315 kB / 1.223 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004961/0.4913, allocations: 0.5986 MB / 1.224 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001798/0.4931, allocations: 1.694 MB / 1.225 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.942e-06/0.4932, allocations: 0 / 1.225 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.593e-06/0.4932, allocations: 0 / 1.225 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.974e-05/0.4932, allocations: 0 / 1.225 GB, free: 8.91 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.002683/0.4959, allocations: 1.504 MB / 1.227 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.4959, allocations: 8.031 kB / 1.227 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001143/0.4971, allocations: 215.3 kB / 1.227 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001069/0.4982, allocations: 0.7577 MB / 1.228 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.477e-05/0.4982, allocations: 70 kB / 1.228 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001271/0.4984, allocations: 92 kB / 1.228 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001821/0.5002, allocations: 1.007 MB / 1.229 GB, free: 5.129 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.297e-05/0.5002, allocations: 3.938 kB / 1.229 GB, free: 5.125 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.15e-05/0.5003, allocations: 39.98 kB / 1.229 GB, free: 5.086 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.186e-05/0.5004, allocations: 27.98 kB / 1.229 GB, free: 5.059 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001889/0.5023, allocations: 1.175 MB / 1.23 GB, free: 3.879 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.00467/0.5069, allocations: 2.885 MB / 1.233 GB, free: 0.8711 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002434/0.5094, allocations: 0.9746 MB / 1.234 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005638/0.51, allocations: 318.7 kB / 1.234 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.843e-05/0.5101, allocations: 28.61 kB / 1.234 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001004/0.5111, allocations: 0.5106 MB / 1.235 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=82): time 2.815e-06/0.5111, allocations: 4 kB / 1.235 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of matching and sorting (n=82): time 0.003312/0.5144, allocations: 1.229 MB / 1.236 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001031/0.5145, allocations: 196.5 kB / 1.236 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008094/0.5153, allocations: 0.6333 MB / 1.237 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.017e-05/0.5154, allocations: 41.7 kB / 1.237 GB, free: 12.81 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003315/0.5158, allocations: 420.3 kB / 1.237 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002172/0.516, allocations: 272.1 kB / 1.237 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00025/0.5162, allocations: 170.4 kB / 1.238 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001655/0.5164, allocations: 386.8 kB / 1.238 GB, free: 11.56 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005482/0.517, allocations: 273.8 kB / 1.238 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006361/0.5176, allocations: 379.1 kB / 1.238 GB, free: 10.91 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001152/0.5188, allocations: 0.6229 MB / 1.239 GB, free: 10.28 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.78e-06/0.5188, allocations: 4 kB / 1.239 GB, free: 10.28 MB / 0.9981 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002037/0.5208, allocations: 0.8721 MB / 1.24 GB, free: 9.395 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.5209, allocations: 5.562 kB / 1.24 GB, free: 9.391 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.5209, allocations: 3.984 kB / 1.24 GB, free: 9.387 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000611/0.5215, allocations: 84.86 kB / 1.24 GB, free: 9.301 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006887/0.5222, allocations: 167.8 kB / 1.24 GB, free: 9.137 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002031/0.5242, allocations: 1.628 MB / 1.242 GB, free: 7.367 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007946/0.5251, allocations: 107.4 kB / 1.242 GB, free: 7.262 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.181e-05/0.5251, allocations: 35.97 kB / 1.242 GB, free: 7.227 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.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 (96): * Single equations (assignments): 95 * 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.000444/0.5256, allocations: 271.6 kB / 1.242 GB, free: 6.953 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001586/0.5258, allocations: 86.97 kB / 1.242 GB, free: 6.867 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002426/0.5282, allocations: 1.101 MB / 1.243 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.004e-05/0.5282, allocations: 12 kB / 1.243 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.5282, allocations: 0 / 1.243 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.186e-05/0.5282, allocations: 7.969 kB / 1.243 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00319/0.5314, allocations: 1.989 MB / 1.245 GB, free: 3.68 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.5315, allocations: 0 / 1.245 GB, free: 3.68 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006207/0.5321, allocations: 163.7 kB / 1.245 GB, free: 3.52 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004481/0.5325, allocations: 76.67 kB / 1.246 GB, free: 3.441 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.703e-05/0.5326, allocations: 31.97 kB / 1.246 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001877/0.5345, allocations: 1.662 MB / 1.247 GB, free: 1.602 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.5345, allocations: 0 / 1.247 GB, free: 1.602 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002061/0.5366, allocations: 1.019 MB / 1.248 GB, free: 0.5664 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003665/0.537, allocations: 275.7 kB / 1.248 GB, free: 284 kB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001324/0.5371, allocations: 19.94 kB / 1.248 GB, free: 264 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007204/0.5378, allocations: 71.92 kB / 1.249 GB, free: 192 kB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001542/0.538, allocations: 68.91 kB / 1.249 GB, free: 124 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.149e-05/0.5381, allocations: 35.97 kB / 1.249 GB, free: 88 kB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.607/1.145, allocations: 468.1 kB / 1.249 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.002e-06/1.145, allocations: 0 / 1.249 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001418/1.147, allocations: 336.4 kB / 1.249 GB, free: 183.3 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,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 88 * 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.001426/1.148, allocations: 0.6086 MB / 1.25 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002792/1.151, allocations: 1.063 MB / 1.251 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/1.151, allocations: 0 / 1.251 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001009/1.152, allocations: 0.5302 MB / 1.252 GB, free: 183 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001366/1.153, allocations: 300.9 kB / 1.252 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003172/1.156, allocations: 2.176 MB / 1.254 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006082/1.157, allocations: 1.047 MB / 1.255 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009563/1.158, allocations: 279.7 kB / 1.255 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002823/1.158, allocations: 113.7 kB / 1.255 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of SimCode: time 8.02e-07/1.158, allocations: 0 / 1.255 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of Templates: time 0.03042/1.189, allocations: 15.47 MB / 1.27 GB, free: 179 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches