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.001311/0.001311, allocations: 108.8 kB / 15.99 MB, free: 6.359 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.001328/0.001328, allocations: 189.2 kB / 16.91 MB, free: 6.195 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.459/1.459, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.69/2.69, allocations: 469.8 MB / 0.7427 GB, free: 3.598 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 67.44 kB / 0.9087 GB, free: 14.2 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3559/0.3579, allocations: 159.1 MB / 1.064 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.00864/0.3666, allocations: 5.119 MB / 1.069 GB, free: 9.93 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.8348/1.201, allocations: 148.4 MB / 1.214 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00109/1.203, allocations: 15.59 kB / 1.214 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0006963/1.203, allocations: 162.5 kB / 1.214 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002103/1.206, allocations: 0.4916 MB / 1.215 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002205/1.208, allocations: 0.7668 MB / 1.215 GB, free: 10 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002015/1.21, allocations: 1.431 MB / 1.217 GB, free: 9.129 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001062/1.211, allocations: 0.6425 MB / 1.218 GB, free: 8.738 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009073/1.212, allocations: 0.5198 MB / 1.218 GB, free: 8.422 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006877/1.212, allocations: 0.5403 MB / 1.219 GB, free: 8.039 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001725/1.213, allocations: 126.4 kB / 1.219 GB, free: 8.039 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001029/1.214, allocations: 471.1 kB / 1.219 GB, free: 7.875 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003261/1.214, allocations: 320.9 kB / 1.219 GB, free: 7.621 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0006459/1.215, allocations: 0.6039 MB / 1.22 GB, free: 7.18 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.00177/1.216, allocations: 1.294 MB / 1.221 GB, free: 6.258 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/1.216, allocations: 7.938 kB / 1.221 GB, free: 6.25 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.824e-06/1.216, allocations: 0 / 1.221 GB, free: 6.25 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.161e-05/1.216, allocations: 4 kB / 1.221 GB, free: 6.246 MB / 0.9356 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.003009/1.219, allocations: 1.482 MB / 1.223 GB, free: 5.094 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/1.22, allocations: 15.06 kB / 1.223 GB, free: 5.09 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001202/1.221, allocations: 217.5 kB / 1.223 GB, free: 4.984 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001165/1.222, allocations: 0.7617 MB / 1.224 GB, free: 4.352 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.047e-05/1.222, allocations: 73.27 kB / 1.224 GB, free: 4.316 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001147/1.222, allocations: 92.97 kB / 1.224 GB, free: 4.285 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001859/1.224, allocations: 1.005 MB / 1.225 GB, free: 3.652 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.67e-05/1.224, allocations: 7.922 kB / 1.225 GB, free: 3.645 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001028/1.224, allocations: 37.56 kB / 1.225 GB, free: 3.617 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.22e-05/1.224, allocations: 27.97 kB / 1.225 GB, free: 3.617 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001945/1.226, allocations: 1.172 MB / 1.226 GB, free: 3.055 MB / 0.9356 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.004893/1.231, allocations: 2.881 MB / 1.229 GB, free: 68 kB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002519/1.234, allocations: 0.9711 MB / 1.23 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006293/1.234, allocations: 318.7 kB / 1.23 GB, free: 14.76 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 8.239e-05/1.234, allocations: 24.53 kB / 1.23 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001002/1.235, allocations: 0.503 MB / 1.231 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=82): time 4.719e-06/1.235, allocations: 7.266 kB / 1.231 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of matching and sorting (n=82): time 0.003564/1.239, allocations: 1.225 MB / 1.232 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001465/1.239, allocations: 196.6 kB / 1.232 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009816/1.24, allocations: 0.6448 MB / 1.233 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 8.949e-05/1.24, allocations: 45.7 kB / 1.233 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003895/1.241, allocations: 424.3 kB / 1.233 GB, free: 11.6 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002623/1.241, allocations: 260.2 kB / 1.233 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002778/1.241, allocations: 166.5 kB / 1.234 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002062/1.241, allocations: 386.8 kB / 1.234 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005898/1.242, allocations: 277.8 kB / 1.234 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006974/1.243, allocations: 371.1 kB / 1.234 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001265/1.244, allocations: 0.6307 MB / 1.235 GB, free: 9.496 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/1.244, allocations: 0 / 1.235 GB, free: 9.496 MB / 0.9512 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002209/1.246, allocations: 0.8721 MB / 1.236 GB, free: 8.613 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.537e-05/1.246, allocations: 7.938 kB / 1.236 GB, free: 8.605 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/1.246, allocations: 4 kB / 1.236 GB, free: 8.602 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006195/1.247, allocations: 84.86 kB / 1.236 GB, free: 8.516 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007274/1.248, allocations: 159.8 kB / 1.236 GB, free: 8.359 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002328/1.25, allocations: 1.634 MB / 1.238 GB, free: 6.578 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009099/1.251, allocations: 99.22 kB / 1.238 GB, free: 6.48 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.116e-05/1.251, allocations: 35.91 kB / 1.238 GB, free: 6.445 MB / 0.9512 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.0006004/1.251, allocations: 294.6 kB / 1.238 GB, free: 6.152 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000195/1.252, allocations: 82.97 kB / 1.238 GB, free: 6.07 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002623/1.254, allocations: 1.1 MB / 1.239 GB, free: 4.961 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.15e-05/1.254, allocations: 8 kB / 1.239 GB, free: 4.953 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.746e-06/1.254, allocations: 0 / 1.239 GB, free: 4.953 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.018e-05/1.254, allocations: 3.984 kB / 1.239 GB, free: 4.949 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003677/1.258, allocations: 2 MB / 1.241 GB, free: 2.887 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.9e-06/1.258, allocations: 2.438 kB / 1.241 GB, free: 2.887 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006406/1.259, allocations: 151.8 kB / 1.241 GB, free: 2.738 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000464/1.259, allocations: 76.72 kB / 1.242 GB, free: 2.66 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.582e-05/1.259, allocations: 23.98 kB / 1.242 GB, free: 2.637 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00233/1.262, allocations: 1.67 MB / 1.243 GB, free: 0.8242 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/1.262, allocations: 0 / 1.243 GB, free: 0.8242 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002289/1.264, allocations: 1.019 MB / 1.244 GB, free: 15.78 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004568/1.264, allocations: 275.7 kB / 1.244 GB, free: 15.49 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001357/1.265, allocations: 20 kB / 1.244 GB, free: 15.47 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007125/1.265, allocations: 70.11 kB / 1.245 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001684/1.265, allocations: 76.89 kB / 1.245 GB, free: 15.33 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.617e-05/1.266, allocations: 31.98 kB / 1.245 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0006476/1.266, allocations: 467 kB / 1.245 GB, free: 14.85 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.4e-07/1.266, allocations: 4 kB / 1.245 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001032/1.267, allocations: 343.1 kB / 1.245 GB, free: 14.51 MB / 0.9669 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.001985/1.269, allocations: 0.6156 MB / 1.246 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002677/1.272, allocations: 1.062 MB / 1.247 GB, free: 13 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/1.272, allocations: 0 / 1.247 GB, free: 13 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001056/1.273, allocations: 0.5276 MB / 1.248 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001468/1.274, allocations: 313.7 kB / 1.248 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004138/1.279, allocations: 2.219 MB / 1.25 GB, free: 9.926 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008896/1.28, allocations: 1.043 MB / 1.251 GB, free: 8.852 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003619/1.28, allocations: 115.4 kB / 1.251 GB, free: 8.738 MB / 0.9669 GB Notification: Performance of SimCode: time 6.72e-07/1.28, allocations: 0 / 1.251 GB, free: 8.738 MB / 0.9669 GB Notification: Performance of Templates: time 0.03126/1.311, allocations: 19.3 MB / 1.27 GB, free: 5.48 MB / 0.9825 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/jenkins1/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