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.001261/0.001261, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.01003/0.01003, allocations: 171.2 kB / 16.27 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.523/1.523, allocations: 223.3 MB / 240.3 MB, free: 5.352 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 3.17/3.17, allocations: 470.6 MB / 0.7442 GB, free: 8.836 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003964/0.0003963, allocations: 9.188 kB / 0.9123 GB, free: 34.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4132/0.4136, allocations: 161.4 MB / 1.07 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.007446/0.4211, allocations: 4.694 MB / 1.074 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1828/0.6039, allocations: 146.8 MB / 1.218 GB, free: 3.348 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009159/0.6049, allocations: 19.88 kB / 1.218 GB, free: 3.328 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005961/0.6055, allocations: 150.8 kB / 1.218 GB, free: 3.18 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001717/0.6072, allocations: 477.2 kB / 1.218 GB, free: 2.715 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002169/0.6094, allocations: 0.746 MB / 1.219 GB, free: 1.977 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001937/0.6113, allocations: 1.342 MB / 1.22 GB, free: 0.625 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001124/0.6125, allocations: 0.6158 MB / 1.221 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000748/0.6132, allocations: 366.2 kB / 1.221 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005596/0.6138, allocations: 405.8 kB / 1.222 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.491e-05/0.6139, allocations: 28 kB / 1.222 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008672/0.6148, allocations: 371.6 kB / 1.222 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002211/0.615, allocations: 187.1 kB / 1.222 GB, free: 14.65 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005191/0.6155, allocations: 0.4987 MB / 1.223 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001987/0.6175, allocations: 1.584 MB / 1.224 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.6176, allocations: 0 / 1.224 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.016e-06/0.6176, allocations: 0 / 1.224 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.746e-05/0.6176, allocations: 0 / 1.224 GB, free: 12.55 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.002474/0.6201, allocations: 1.27 MB / 1.226 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.6201, allocations: 11.97 kB / 1.226 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001092/0.6212, allocations: 223.3 kB / 1.226 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001135/0.6224, allocations: 0.7538 MB / 1.227 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.18e-05/0.6225, allocations: 74 kB / 1.227 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001372/0.6226, allocations: 88 kB / 1.227 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001881/0.6245, allocations: 1.023 MB / 1.228 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.947e-05/0.6245, allocations: 3.938 kB / 1.228 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.831e-05/0.6246, allocations: 40 kB / 1.228 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.469e-05/0.6247, allocations: 24 kB / 1.228 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002099/0.6268, allocations: 1.179 MB / 1.229 GB, free: 7.746 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.005275/0.6321, allocations: 2.927 MB / 1.232 GB, free: 4.691 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002547/0.6346, allocations: 0.9785 MB / 1.233 GB, free: 3.691 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006795/0.6353, allocations: 318.7 kB / 1.233 GB, free: 3.375 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.665e-05/0.6354, allocations: 36.59 kB / 1.233 GB, free: 3.34 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001074/0.6365, allocations: 0.5108 MB / 1.234 GB, free: 2.809 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=82): time 3.005e-06/0.6365, allocations: 0 / 1.234 GB, free: 2.809 MB / 0.9825 GB Notification: Performance of matching and sorting (n=82): time 0.003492/0.64, allocations: 1.241 MB / 1.235 GB, free: 1.543 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001355/0.6402, allocations: 196.5 kB / 1.235 GB, free: 1.309 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009052/0.6411, allocations: 0.6371 MB / 1.236 GB, free: 0.668 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.581e-05/0.6412, allocations: 45.69 kB / 1.236 GB, free: 0.6172 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004059/0.6416, allocations: 416.3 kB / 1.236 GB, free: 208 kB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002836/0.6419, allocations: 272.6 kB / 1.236 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001141/0.642, allocations: 65.69 kB / 1.236 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002183/0.6422, allocations: 394.7 kB / 1.237 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006295/0.6428, allocations: 281.8 kB / 1.237 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007021/0.6436, allocations: 375.1 kB / 1.237 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001262/0.6448, allocations: 0.6346 MB / 1.238 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.6448, allocations: 0 / 1.238 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002164/0.647, allocations: 0.8838 MB / 1.239 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/0.6471, allocations: 7.938 kB / 1.239 GB, free: 13.26 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.6471, allocations: 4.094 kB / 1.239 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006372/0.6477, allocations: 80.78 kB / 1.239 GB, free: 13.17 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007189/0.6484, allocations: 171.8 kB / 1.239 GB, free: 13 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002473/0.6509, allocations: 1.532 MB / 1.241 GB, free: 11.33 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009357/0.6519, allocations: 103.3 kB / 1.241 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.525e-05/0.652, allocations: 43.97 kB / 1.241 GB, free: 11.19 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.0006264/0.6526, allocations: 271.4 kB / 1.241 GB, free: 10.91 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000153/0.6528, allocations: 82.97 kB / 1.241 GB, free: 10.83 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002739/0.6555, allocations: 1.109 MB / 1.242 GB, free: 9.707 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.221e-05/0.6555, allocations: 12 kB / 1.242 GB, free: 9.695 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.6556, allocations: 3.938 kB / 1.242 GB, free: 9.691 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.274e-05/0.6556, allocations: 7.984 kB / 1.242 GB, free: 9.684 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003831/0.6594, allocations: 2.012 MB / 1.244 GB, free: 7.613 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.191e-06/0.6594, allocations: 4 kB / 1.244 GB, free: 7.609 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000654/0.6601, allocations: 151.8 kB / 1.244 GB, free: 7.461 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005561/0.6607, allocations: 92.7 kB / 1.244 GB, free: 7.367 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.73e-05/0.6608, allocations: 27.97 kB / 1.244 GB, free: 7.34 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002148/0.6629, allocations: 1.54 MB / 1.246 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.6629, allocations: 8 kB / 1.246 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002361/0.6653, allocations: 1.023 MB / 1.247 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000511/0.6658, allocations: 295.6 kB / 1.247 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001229/0.666, allocations: 16 kB / 1.247 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007638/0.6667, allocations: 96.14 kB / 1.247 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000175/0.6669, allocations: 76.89 kB / 1.247 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.189e-05/0.667, allocations: 31.98 kB / 1.247 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007041/0.6677, allocations: 467 kB / 1.248 GB, free: 3.645 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6677, allocations: 0 / 1.248 GB, free: 3.645 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001018/0.6687, allocations: 343.1 kB / 1.248 GB, free: 3.309 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.002067/0.6708, allocations: 0.6026 MB / 1.249 GB, free: 2.883 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002036/0.6729, allocations: 0.8587 MB / 1.25 GB, free: 2.012 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/0.6729, allocations: 4 kB / 1.25 GB, free: 2.008 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00107/0.674, allocations: 0.5314 MB / 1.25 GB, free: 1.461 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001543/0.6755, allocations: 283.8 kB / 1.25 GB, free: 1.188 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6253/1.301, allocations: 2.197 MB / 1.253 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008419/1.302, allocations: 1.045 MB / 1.254 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00127/1.303, allocations: 273.9 kB / 1.254 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003119/1.303, allocations: 106.8 kB / 1.254 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of SimCode: time 1.343e-06/1.303, allocations: 0 / 1.254 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of Templates: time 0.03634/1.34, allocations: 14.82 MB / 1.268 GB, free: 180.2 MB / 0.9981 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=400 -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