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.00827/0.008271, allocations: 97.59 kB / 15.73 MB, free: 6 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.002056/0.002056, allocations: 185.4 kB / 16.67 MB, free: 5.93 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.386/1.386, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.001/3.001, allocations: 472.6 MB / 0.7453 GB, free: 4.586 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001428/0.001429, allocations: 68.11 kB / 1.069 GB, free: 9.23 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3202/0.3216, allocations: 159.9 MB / 1.226 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.007071/0.3287, allocations: 5.136 MB / 1.231 GB, free: 4.062 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 1.003/1.332, allocations: 150.7 MB / 1.378 GB, free: 5.438 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001436/1.333, allocations: 19.31 kB / 1.378 GB, free: 5.43 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001083/1.334, allocations: 197.6 kB / 1.378 GB, free: 5.305 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002461/1.337, allocations: 0.5673 MB / 1.378 GB, free: 4.977 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002816/1.34, allocations: 0.8412 MB / 1.379 GB, free: 4.543 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002767/1.342, allocations: 1.445 MB / 1.381 GB, free: 3.797 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001282/1.344, allocations: 0.6562 MB / 1.381 GB, free: 3.445 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001151/1.345, allocations: 0.5095 MB / 1.382 GB, free: 3.191 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001039/1.346, allocations: 0.5461 MB / 1.382 GB, free: 2.902 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0002285/1.346, allocations: 130.8 kB / 1.382 GB, free: 2.898 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001167/1.347, allocations: 496 kB / 1.383 GB, free: 2.738 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0003342/1.348, allocations: 317 kB / 1.383 GB, free: 2.488 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0006252/1.348, allocations: 0.6027 MB / 1.384 GB, free: 2.047 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002166/1.35, allocations: 1.743 MB / 1.386 GB, free: 0.7852 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/1.351, allocations: 0 / 1.386 GB, free: 0.7852 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.603e-06/1.351, allocations: 0 / 1.386 GB, free: 0.7852 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.886e-05/1.351, allocations: 0 / 1.386 GB, free: 0.7852 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.002698/1.353, allocations: 1.537 MB / 1.387 GB, free: 15.58 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/1.353, allocations: 8.875 kB / 1.387 GB, free: 15.58 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001183/1.354, allocations: 219.2 kB / 1.387 GB, free: 15.47 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001324/1.356, allocations: 0.7813 MB / 1.388 GB, free: 14.83 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.082e-05/1.356, allocations: 75.88 kB / 1.388 GB, free: 14.8 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001409/1.356, allocations: 89.56 kB / 1.388 GB, free: 14.77 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00196/1.358, allocations: 1.011 MB / 1.389 GB, free: 14.13 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.183e-05/1.358, allocations: 0 / 1.389 GB, free: 14.13 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.846e-05/1.358, allocations: 41.78 kB / 1.389 GB, free: 14.1 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.838e-05/1.358, allocations: 23.19 kB / 1.389 GB, free: 14.1 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002011/1.36, allocations: 1.177 MB / 1.39 GB, free: 13.54 MB / 1.092 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.004626/1.365, allocations: 2.865 MB / 1.393 GB, free: 11.25 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002476/1.367, allocations: 0.9639 MB / 1.394 GB, free: 10.72 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006066/1.368, allocations: 316.2 kB / 1.394 GB, free: 10.56 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 8.193e-05/1.368, allocations: 34.78 kB / 1.394 GB, free: 10.54 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009512/1.369, allocations: 0.5044 MB / 1.395 GB, free: 10.21 MB / 1.092 GB Notification: Performance of pre-optimization done (n=82): time 2.354e-06/1.369, allocations: 0 / 1.395 GB, free: 10.21 MB / 1.092 GB Notification: Performance of matching and sorting (n=82): time 0.003402/1.372, allocations: 1.233 MB / 1.396 GB, free: 9.543 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001084/1.373, allocations: 196.6 kB / 1.396 GB, free: 9.32 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009921/1.374, allocations: 0.6425 MB / 1.397 GB, free: 8.945 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 7.069e-05/1.374, allocations: 42.39 kB / 1.397 GB, free: 8.902 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003591/1.374, allocations: 424.8 kB / 1.397 GB, free: 8.531 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002345/1.374, allocations: 287.8 kB / 1.398 GB, free: 8.281 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002931/1.375, allocations: 167.4 kB / 1.398 GB, free: 8.176 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001833/1.375, allocations: 385.2 kB / 1.398 GB, free: 7.809 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006153/1.375, allocations: 284.7 kB / 1.399 GB, free: 7.668 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007018/1.376, allocations: 369.5 kB / 1.399 GB, free: 7.461 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001338/1.377, allocations: 0.6213 MB / 1.399 GB, free: 7.129 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/1.377, allocations: 0 / 1.399 GB, free: 7.129 MB / 1.092 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002431/1.38, allocations: 0.88 MB / 1.4 GB, free: 6.68 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 3.045e-05/1.38, allocations: 16.27 kB / 1.4 GB, free: 6.668 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/1.38, allocations: 1.094 kB / 1.4 GB, free: 6.668 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006066/1.381, allocations: 84.98 kB / 1.4 GB, free: 6.625 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006957/1.381, allocations: 164 kB / 1.401 GB, free: 6.586 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002095/1.383, allocations: 1.626 MB / 1.402 GB, free: 4.984 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009509/1.384, allocations: 94.25 kB / 1.402 GB, free: 4.926 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.031e-05/1.384, allocations: 38.5 kB / 1.402 GB, free: 4.91 MB / 1.092 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.0006145/1.385, allocations: 280.9 kB / 1.403 GB, free: 4.688 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002484/1.385, allocations: 91.67 kB / 1.403 GB, free: 4.637 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00275/1.388, allocations: 1.097 MB / 1.404 GB, free: 4.023 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.131e-05/1.388, allocations: 9.625 kB / 1.404 GB, free: 4.023 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/1.388, allocations: 0 / 1.404 GB, free: 4.023 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.167e-05/1.388, allocations: 5.672 kB / 1.404 GB, free: 4.02 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00362/1.392, allocations: 2.007 MB / 1.406 GB, free: 2.691 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/1.392, allocations: 0 / 1.406 GB, free: 2.691 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006124/1.392, allocations: 147 kB / 1.406 GB, free: 2.66 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004614/1.393, allocations: 78.34 kB / 1.406 GB, free: 2.617 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.212e-05/1.393, allocations: 25.14 kB / 1.406 GB, free: 2.602 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001999/1.395, allocations: 1.662 MB / 1.408 GB, free: 0.9766 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/1.395, allocations: 4.062 kB / 1.408 GB, free: 0.9727 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002343/1.397, allocations: 1.023 MB / 1.409 GB, free: 404 kB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005599/1.398, allocations: 280.3 kB / 1.409 GB, free: 152 kB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002328/1.398, allocations: 17.22 kB / 1.409 GB, free: 140 kB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008118/1.399, allocations: 78.98 kB / 1.409 GB, free: 96 kB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001661/1.399, allocations: 66.03 kB / 1.409 GB, free: 64 kB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.497e-05/1.399, allocations: 39.97 kB / 1.409 GB, free: 48 kB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0007554/1.4, allocations: 465.1 kB / 1.409 GB, free: 15.78 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.9e-07/1.4, allocations: 0 / 1.409 GB, free: 15.78 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.001175/1.401, allocations: 341.7 kB / 1.41 GB, free: 15.68 MB / 1.107 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.00162/1.403, allocations: 0.6199 MB / 1.41 GB, free: 15.39 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.002034/1.405, allocations: 0.8589 MB / 1.411 GB, free: 14.93 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/1.405, allocations: 6.781 kB / 1.411 GB, free: 14.93 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.001063/1.406, allocations: 0.5227 MB / 1.412 GB, free: 14.64 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001615/1.408, allocations: 307.4 kB / 1.412 GB, free: 14.48 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003663/1.411, allocations: 1.764 MB / 1.414 GB, free: 13.16 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007382/1.412, allocations: 1.043 MB / 1.415 GB, free: 12.09 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.000939/1.413, allocations: 270.8 kB / 1.415 GB, free: 11.82 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003076/1.413, allocations: 111.4 kB / 1.415 GB, free: 11.71 MB / 1.107 GB Notification: Performance of SimCode: time 1.272e-06/1.413, allocations: 0 / 1.415 GB, free: 11.71 MB / 1.107 GB Notification: Performance of Templates: time 0.03069/1.444, allocations: 15.72 MB / 1.43 GB, free: 12.19 MB / 1.123 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