Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.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.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|relAirMas.relAirMas",fileNamePrefix="Buildings_11_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_11_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.007863/0.007863, allocations: 96.73 kB / 15.73 MB, free: 6.047 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.001863/0.001863, allocations: 194.8 kB / 16.67 MB, free: 5.973 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.366/1.366, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.735/2.735, allocations: 469.8 MB / 0.7425 GB, free: 7.406 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002359/0.002359, allocations: 67.89 kB / 1.065 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3557/0.358, allocations: 159.1 MB / 1.221 GB, free: 13.9 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.008137/0.3662, allocations: 5.141 MB / 1.226 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.9409/1.307, allocations: 151.1 MB / 1.373 GB, free: 10.77 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00138/1.308, allocations: 19.94 kB / 1.373 GB, free: 10.76 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.00106/1.309, allocations: 203 kB / 1.373 GB, free: 10.63 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002662/1.312, allocations: 0.5668 MB / 1.374 GB, free: 10.3 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002667/1.315, allocations: 0.8495 MB / 1.375 GB, free: 9.859 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002428/1.317, allocations: 1.437 MB / 1.376 GB, free: 9.117 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001116/1.318, allocations: 479.1 kB / 1.377 GB, free: 8.832 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001191/1.32, allocations: 0.5144 MB / 1.377 GB, free: 8.574 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001255/1.321, allocations: 0.5409 MB / 1.378 GB, free: 8.289 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0004441/1.321, allocations: 125.9 kB / 1.378 GB, free: 8.289 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001574/1.323, allocations: 496.1 kB / 1.378 GB, free: 8.172 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0004708/1.323, allocations: 318 kB / 1.379 GB, free: 7.969 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0007974/1.324, allocations: 0.5966 MB / 1.379 GB, free: 7.574 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002617/1.327, allocations: 1.753 MB / 1.381 GB, free: 6.527 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/1.327, allocations: 0 / 1.381 GB, free: 6.527 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.423e-06/1.327, allocations: 0.8125 kB / 1.381 GB, free: 6.527 MB / 1.076 GB Notification: Performance of Transformations before backend: time 3.177e-05/1.327, allocations: 4 kB / 1.381 GB, free: 6.523 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.003111/1.33, allocations: 1.521 MB / 1.382 GB, free: 5.324 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/1.33, allocations: 10.06 kB / 1.382 GB, free: 5.324 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001162/1.331, allocations: 226.9 kB / 1.383 GB, free: 5.211 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001236/1.332, allocations: 0.7809 MB / 1.383 GB, free: 4.57 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.408e-05/1.332, allocations: 76.53 kB / 1.383 GB, free: 4.535 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001277/1.332, allocations: 92.52 kB / 1.383 GB, free: 4.504 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001742/1.334, allocations: 1.009 MB / 1.384 GB, free: 3.867 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.127e-05/1.334, allocations: 1.094 kB / 1.384 GB, free: 3.867 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.123e-05/1.334, allocations: 40.81 kB / 1.384 GB, free: 3.836 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.986e-05/1.334, allocations: 23.28 kB / 1.385 GB, free: 3.836 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00193/1.336, allocations: 1.178 MB / 1.386 GB, free: 3.277 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.004573/1.341, allocations: 2.866 MB / 1.388 GB, free: 0.9883 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002433/1.343, allocations: 0.924 MB / 1.389 GB, free: 476 kB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005965/1.344, allocations: 300.5 kB / 1.39 GB, free: 316 kB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 7.747e-05/1.344, allocations: 25.95 kB / 1.39 GB, free: 304 kB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009584/1.345, allocations: 0.4976 MB / 1.39 GB, free: 15.98 MB / 1.092 GB Notification: Performance of pre-optimization done (n=82): time 4.408e-06/1.345, allocations: 4 kB / 1.39 GB, free: 15.97 MB / 1.092 GB Notification: Performance of matching and sorting (n=82): time 0.003527/1.348, allocations: 1.228 MB / 1.391 GB, free: 15.31 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001278/1.349, allocations: 197.5 kB / 1.392 GB, free: 15.08 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009875/1.35, allocations: 0.6416 MB / 1.392 GB, free: 14.71 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 7.798e-05/1.35, allocations: 43.2 kB / 1.392 GB, free: 14.66 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.000412/1.35, allocations: 428.3 kB / 1.393 GB, free: 14.29 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.000257/1.35, allocations: 275.6 kB / 1.393 GB, free: 14.05 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002701/1.351, allocations: 175.2 kB / 1.393 GB, free: 13.94 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0002029/1.351, allocations: 385.8 kB / 1.393 GB, free: 13.57 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005891/1.351, allocations: 277.3 kB / 1.394 GB, free: 13.44 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000705/1.352, allocations: 377.2 kB / 1.394 GB, free: 13.23 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00127/1.353, allocations: 0.6207 MB / 1.395 GB, free: 12.9 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/1.353, allocations: 7.938 kB / 1.395 GB, free: 12.89 MB / 1.092 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002316/1.356, allocations: 0.8692 MB / 1.396 GB, free: 12.45 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.577e-05/1.356, allocations: 10.88 kB / 1.396 GB, free: 12.44 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/1.356, allocations: 2.938 kB / 1.396 GB, free: 12.44 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000652/1.356, allocations: 85.14 kB / 1.396 GB, free: 12.4 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000726/1.357, allocations: 170.8 kB / 1.396 GB, free: 12.35 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002162/1.359, allocations: 1.618 MB / 1.397 GB, free: 10.76 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009105/1.36, allocations: 102.3 kB / 1.397 GB, free: 10.7 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.197e-05/1.36, allocations: 41.84 kB / 1.397 GB, free: 10.68 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.0005564/1.361, allocations: 276.2 kB / 1.398 GB, free: 10.46 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001884/1.361, allocations: 87.31 kB / 1.398 GB, free: 10.42 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002487/1.363, allocations: 1.1 MB / 1.399 GB, free: 9.801 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.081e-05/1.363, allocations: 13.72 kB / 1.399 GB, free: 9.797 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/1.363, allocations: 0 / 1.399 GB, free: 9.797 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.293e-05/1.363, allocations: 7.969 kB / 1.399 GB, free: 9.789 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004001/1.367, allocations: 1.999 MB / 1.401 GB, free: 8.469 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/1.368, allocations: 0 / 1.401 GB, free: 8.469 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001001/1.369, allocations: 154.9 kB / 1.401 GB, free: 8.43 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006213/1.369, allocations: 71.17 kB / 1.401 GB, free: 8.395 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.915e-05/1.369, allocations: 28.69 kB / 1.401 GB, free: 8.375 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002747/1.372, allocations: 1.662 MB / 1.403 GB, free: 6.75 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/1.372, allocations: 0 / 1.403 GB, free: 6.75 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003286/1.375, allocations: 1.02 MB / 1.404 GB, free: 6.172 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008248/1.376, allocations: 284.9 kB / 1.404 GB, free: 5.922 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002247/1.376, allocations: 22.38 kB / 1.404 GB, free: 5.906 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001036/1.377, allocations: 64.88 kB / 1.404 GB, free: 5.875 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002442/1.378, allocations: 69.89 kB / 1.404 GB, free: 5.84 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001171/1.378, allocations: 38.72 kB / 1.404 GB, free: 5.824 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001012/1.379, allocations: 465.6 kB / 1.405 GB, free: 5.559 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.1e-07/1.379, allocations: 0 / 1.405 GB, free: 5.559 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001592/1.38, allocations: 336.9 kB / 1.405 GB, free: 5.465 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,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.002025/1.382, allocations: 0.6236 MB / 1.406 GB, free: 5.164 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.002654/1.385, allocations: 0.831 MB / 1.406 GB, free: 4.723 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/1.385, allocations: 0 / 1.406 GB, free: 4.723 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.00131/1.386, allocations: 0.4938 MB / 1.407 GB, free: 4.434 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001988/1.388, allocations: 314.2 kB / 1.407 GB, free: 4.281 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004943/1.393, allocations: 1.747 MB / 1.409 GB, free: 3.238 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001083/1.394, allocations: 1.046 MB / 1.41 GB, free: 2.383 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.001413/1.396, allocations: 280.5 kB / 1.41 GB, free: 2.238 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004205/1.396, allocations: 102.8 kB / 1.41 GB, free: 2.207 MB / 1.092 GB Notification: Performance of SimCode: time 9.32e-07/1.396, allocations: 0 / 1.41 GB, free: 2.207 MB / 1.092 GB Notification: Performance of Templates: time 0.03582/1.432, allocations: 15.81 MB / 1.426 GB, free: 2.805 MB / 1.107 GB make -j1 -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile (rm -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & ./Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches