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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001074/0.001074, allocations: 92 kB / 16.02 MB, free: 80 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.001416/0.001416, allocations: 178.7 kB / 16.92 MB, free: 6.652 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.387/1.387, allocations: 223.3 MB / 241 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.757/2.757, allocations: 462.6 MB / 0.7371 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003658/0.0003658, allocations: 8.656 kB / 0.9034 GB, free: 36.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3329/0.3333, allocations: 159.6 MB / 1.059 GB, free: 4.992 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.005774/0.3391, allocations: 4.704 MB / 1.064 GB, free: 276 kB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.164/0.5031, allocations: 146.8 MB / 1.207 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001078/0.5042, allocations: 11.94 kB / 1.207 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0008109/0.5051, allocations: 162.7 kB / 1.207 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002201/0.5073, allocations: 492 kB / 1.208 GB, free: 12.31 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002296/0.5096, allocations: 0.7374 MB / 1.209 GB, free: 11.58 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001917/0.5115, allocations: 1.346 MB / 1.21 GB, free: 10.22 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001166/0.5127, allocations: 0.6119 MB / 1.21 GB, free: 9.582 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007699/0.5135, allocations: 366.2 kB / 1.211 GB, free: 9.223 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007546/0.5143, allocations: 413.8 kB / 1.211 GB, free: 8.816 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001948/0.5145, allocations: 24 kB / 1.211 GB, free: 8.793 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001054/0.5155, allocations: 367.6 kB / 1.212 GB, free: 8.434 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002801/0.5158, allocations: 195.1 kB / 1.212 GB, free: 8.242 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0006369/0.5165, allocations: 494.7 kB / 1.212 GB, free: 7.75 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001564/0.518, allocations: 1.251 MB / 1.213 GB, free: 6.496 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.518, allocations: 0 / 1.213 GB, free: 6.496 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.245e-06/0.5181, allocations: 0 / 1.213 GB, free: 6.496 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.042e-05/0.5181, allocations: 0 / 1.213 GB, free: 6.496 MB / 0.9669 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.002806/0.5209, allocations: 1.272 MB / 1.215 GB, free: 5.18 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.521, allocations: 15.95 kB / 1.215 GB, free: 5.164 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001291/0.5223, allocations: 227.3 kB / 1.215 GB, free: 4.941 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001402/0.5237, allocations: 0.7616 MB / 1.216 GB, free: 4.137 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.667e-05/0.5238, allocations: 77.94 kB / 1.216 GB, free: 4.062 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001719/0.524, allocations: 88 kB / 1.216 GB, free: 3.977 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00203/0.526, allocations: 1.011 MB / 1.217 GB, free: 2.926 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.973e-05/0.526, allocations: 0 / 1.217 GB, free: 2.926 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000105/0.5262, allocations: 40 kB / 1.217 GB, free: 2.887 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.07e-05/0.5262, allocations: 27.94 kB / 1.217 GB, free: 2.859 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002103/0.5283, allocations: 1.19 MB / 1.218 GB, free: 1.668 MB / 0.9669 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.004961/0.5333, allocations: 2.907 MB / 1.221 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002562/0.5358, allocations: 0.9901 MB / 1.222 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006281/0.5365, allocations: 318.7 kB / 1.222 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.226e-05/0.5366, allocations: 32.61 kB / 1.222 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009891/0.5376, allocations: 0.5031 MB / 1.223 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=82): time 7.343e-06/0.5376, allocations: 0 / 1.223 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of matching and sorting (n=82): time 0.003489/0.5411, allocations: 1.248 MB / 1.224 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001149/0.5412, allocations: 200.5 kB / 1.224 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009648/0.5422, allocations: 0.6333 MB / 1.225 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 9.519e-05/0.5423, allocations: 41.7 kB / 1.225 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000366/0.5427, allocations: 424.2 kB / 1.225 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002685/0.543, allocations: 272.1 kB / 1.225 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001226/0.5431, allocations: 73.67 kB / 1.226 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001677/0.5433, allocations: 382.8 kB / 1.226 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000619/0.5439, allocations: 281.8 kB / 1.226 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007054/0.5446, allocations: 379 kB / 1.226 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001249/0.5459, allocations: 0.6346 MB / 1.227 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.636e-06/0.5459, allocations: 3.938 kB / 1.227 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002166/0.5481, allocations: 0.8761 MB / 1.228 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.422e-05/0.5481, allocations: 7.938 kB / 1.228 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.5481, allocations: 4 kB / 1.228 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006444/0.5488, allocations: 84.86 kB / 1.228 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007189/0.5495, allocations: 167.7 kB / 1.228 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00207/0.5516, allocations: 1.518 MB / 1.23 GB, free: 5.273 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008878/0.5525, allocations: 111.4 kB / 1.23 GB, free: 5.164 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.309e-05/0.5526, allocations: 36.16 kB / 1.23 GB, free: 5.129 MB / 0.9825 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.0005677/0.5532, allocations: 284.8 kB / 1.23 GB, free: 4.844 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001984/0.5534, allocations: 86.95 kB / 1.23 GB, free: 4.758 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002623/0.556, allocations: 1.109 MB / 1.231 GB, free: 3.633 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.517e-06/0.556, allocations: 11.94 kB / 1.231 GB, free: 3.621 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.556, allocations: 3.938 kB / 1.231 GB, free: 3.617 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.03e-05/0.556, allocations: 3.984 kB / 1.231 GB, free: 3.613 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003469/0.5595, allocations: 2.012 MB / 1.233 GB, free: 1.539 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.5595, allocations: 0 / 1.233 GB, free: 1.539 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006247/0.5602, allocations: 147.8 kB / 1.233 GB, free: 1.395 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005307/0.5607, allocations: 84.77 kB / 1.233 GB, free: 1.309 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.396e-05/0.5608, allocations: 27.92 kB / 1.234 GB, free: 1.281 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001828/0.5626, allocations: 1.544 MB / 1.235 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.5626, allocations: 0 / 1.235 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002132/0.5648, allocations: 1.031 MB / 1.236 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004522/0.5652, allocations: 291.6 kB / 1.236 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001122/0.5653, allocations: 23.98 kB / 1.236 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007296/0.5661, allocations: 87.83 kB / 1.236 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001506/0.5662, allocations: 72.97 kB / 1.236 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.322e-05/0.5663, allocations: 39.97 kB / 1.237 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005844/0.5669, allocations: 463 kB / 1.237 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.01e-07/0.5669, allocations: 0 / 1.237 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000943/0.5679, allocations: 343.2 kB / 1.237 GB, free: 13.25 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.001415/0.5693, allocations: 0.6124 MB / 1.238 GB, free: 12.81 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001821/0.5711, allocations: 0.8509 MB / 1.239 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.5711, allocations: 4 kB / 1.239 GB, free: 11.94 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009691/0.5721, allocations: 0.5353 MB / 1.239 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001399/0.5735, allocations: 281.2 kB / 1.24 GB, free: 11.13 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003572/0.5771, allocations: 2.247 MB / 1.242 GB, free: 8.844 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000691/0.5778, allocations: 1.047 MB / 1.243 GB, free: 7.77 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003493/0.5782, allocations: 115.4 kB / 1.243 GB, free: 7.656 MB / 0.9981 GB Notification: Performance of SimCode: time 8.42e-07/0.5782, allocations: 0 / 1.243 GB, free: 7.656 MB / 0.9981 GB Notification: Performance of Templates: time 0.5744/1.153, allocations: 19.18 MB / 1.262 GB, free: 184.3 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/jenkins1/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