Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001389/0.001388, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001473/0.001473, allocations: 196.8 kB / 16.14 MB, free: 6.719 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.493/1.493, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.911/2.911, allocations: 437 MB / 0.71 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002024/0.002024, allocations: 67.89 kB / 0.8686 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.777/0.779, allocations: 151.6 MB / 1.017 GB, free: 2.73 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.009168/0.7883, allocations: 5.146 MB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1993/0.9877, allocations: 148.3 MB / 1.167 GB, free: 8.648 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001174/0.9889, allocations: 15.94 kB / 1.167 GB, free: 8.633 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0007009/0.9896, allocations: 150.8 kB / 1.167 GB, free: 8.484 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001885/0.9915, allocations: 493.5 kB / 1.167 GB, free: 8.004 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.00208/0.9936, allocations: 0.7368 MB / 1.168 GB, free: 7.273 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001639/0.9953, allocations: 1.343 MB / 1.169 GB, free: 5.926 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001182/0.9965, allocations: 0.6314 MB / 1.17 GB, free: 5.27 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000744/0.9972, allocations: 462.2 kB / 1.17 GB, free: 4.816 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006138/0.9978, allocations: 0.5035 MB / 1.171 GB, free: 4.312 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001355/0.998, allocations: 64 kB / 1.171 GB, free: 4.25 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001012/0.999, allocations: 407.6 kB / 1.171 GB, free: 3.852 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003031/0.9993, allocations: 263 kB / 1.171 GB, free: 3.594 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0005922/0.9999, allocations: 0.5517 MB / 1.172 GB, free: 3.039 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001916/1.002, allocations: 1.643 MB / 1.174 GB, free: 1.391 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/1.002, allocations: 0 / 1.174 GB, free: 1.391 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.432e-06/1.002, allocations: 0 / 1.174 GB, free: 1.391 MB / 0.92 GB Notification: Performance of Transformations before backend: time 2.081e-05/1.002, allocations: 0 / 1.174 GB, free: 1.391 MB / 0.92 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.002996/1.005, allocations: 1.488 MB / 1.175 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/1.005, allocations: 12.02 kB / 1.175 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001175/1.006, allocations: 223.2 kB / 1.175 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001194/1.007, allocations: 0.75 MB / 1.176 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.912e-05/1.007, allocations: 77.98 kB / 1.176 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000128/1.008, allocations: 95.94 kB / 1.176 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001899/1.009, allocations: 0.9995 MB / 1.177 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.056e-05/1.01, allocations: 0 / 1.177 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.794e-05/1.01, allocations: 44 kB / 1.177 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.344e-05/1.01, allocations: 24 kB / 1.177 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002062/1.012, allocations: 1.171 MB / 1.178 GB, free: 12.38 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.004823/1.017, allocations: 2.887 MB / 1.181 GB, free: 9.367 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002706/1.019, allocations: 0.9747 MB / 1.182 GB, free: 8.371 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007204/1.02, allocations: 310.7 kB / 1.182 GB, free: 8.066 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 8.357e-05/1.02, allocations: 28.61 kB / 1.182 GB, free: 8.035 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001083/1.021, allocations: 0.503 MB / 1.183 GB, free: 7.516 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=82): time 2.575e-06/1.021, allocations: 0 / 1.183 GB, free: 7.516 MB / 0.9356 GB Notification: Performance of matching and sorting (n=82): time 0.003507/1.025, allocations: 1.225 MB / 1.184 GB, free: 6.262 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001432/1.025, allocations: 200.5 kB / 1.184 GB, free: 6.023 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008848/1.026, allocations: 0.6487 MB / 1.185 GB, free: 5.367 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 7.132e-05/1.026, allocations: 41.7 kB / 1.185 GB, free: 5.32 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004106/1.026, allocations: 424.2 kB / 1.185 GB, free: 4.898 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003115/1.027, allocations: 256.2 kB / 1.186 GB, free: 4.645 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002834/1.027, allocations: 170.5 kB / 1.186 GB, free: 4.469 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002177/1.027, allocations: 386.7 kB / 1.186 GB, free: 4.082 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006466/1.028, allocations: 281.8 kB / 1.186 GB, free: 3.809 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007144/1.029, allocations: 367.1 kB / 1.187 GB, free: 3.434 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001334/1.03, allocations: 0.6268 MB / 1.187 GB, free: 2.793 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/1.03, allocations: 0 / 1.187 GB, free: 2.793 MB / 0.9356 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002166/1.032, allocations: 0.8761 MB / 1.188 GB, free: 1.91 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/1.032, allocations: 8 kB / 1.188 GB, free: 1.902 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/1.032, allocations: 4 kB / 1.188 GB, free: 1.898 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006586/1.033, allocations: 88.7 kB / 1.188 GB, free: 1.809 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007893/1.034, allocations: 163.8 kB / 1.189 GB, free: 1.648 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002369/1.036, allocations: 1.532 MB / 1.19 GB, free: 15.97 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008171/1.037, allocations: 99.22 kB / 1.19 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.547e-05/1.037, allocations: 44.03 kB / 1.19 GB, free: 15.83 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.000555/1.037, allocations: 275.4 kB / 1.19 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001735/1.038, allocations: 86.95 kB / 1.19 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002721/1.04, allocations: 1.085 MB / 1.192 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.084e-05/1.04, allocations: 11.98 kB / 1.192 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/1.04, allocations: 7.938 kB / 1.192 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/1.04, allocations: 3.984 kB / 1.192 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003716/1.044, allocations: 1.997 MB / 1.194 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/1.044, allocations: 0 / 1.194 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006575/1.045, allocations: 151.8 kB / 1.194 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005626/1.045, allocations: 84.77 kB / 1.194 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.775e-05/1.045, allocations: 27.97 kB / 1.194 GB, free: 12.03 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002034/1.047, allocations: 1.548 MB / 1.195 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.115e-06/1.048, allocations: 4 kB / 1.195 GB, free: 10.33 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002231/1.05, allocations: 1.019 MB / 1.196 GB, free: 9.293 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003974/1.05, allocations: 271.7 kB / 1.197 GB, free: 9.008 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001306/1.05, allocations: 24 kB / 1.197 GB, free: 8.984 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007288/1.051, allocations: 74.33 kB / 1.197 GB, free: 8.914 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001782/1.051, allocations: 76.83 kB / 1.197 GB, free: 8.836 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.691e-05/1.051, allocations: 35.97 kB / 1.197 GB, free: 8.801 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0006984/1.052, allocations: 467 kB / 1.197 GB, free: 8.352 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/1.052, allocations: 0 / 1.197 GB, free: 8.352 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0011/1.053, allocations: 335.2 kB / 1.198 GB, free: 8.023 MB / 0.9512 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.002197/1.055, allocations: 0.6096 MB / 1.198 GB, free: 7.59 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.00187/1.057, allocations: 0.8547 MB / 1.199 GB, free: 6.727 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/1.057, allocations: 0 / 1.199 GB, free: 6.727 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.00107/1.058, allocations: 0.5236 MB / 1.199 GB, free: 6.191 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001239/1.06, allocations: 291.5 kB / 1.2 GB, free: 5.914 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003585/1.063, allocations: 2.174 MB / 1.202 GB, free: 3.715 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007727/1.064, allocations: 1.043 MB / 1.203 GB, free: 2.645 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.000978/1.065, allocations: 274.8 kB / 1.203 GB, free: 2.371 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003136/1.065, allocations: 111.4 kB / 1.203 GB, free: 2.262 MB / 0.9512 GB Notification: Performance of SimCode: time 8.31e-07/1.065, allocations: 3.938 kB / 1.203 GB, free: 2.258 MB / 0.9512 GB Notification: Performance of Templates: time 0.0283/1.094, allocations: 14.91 MB / 1.218 GB, free: 3.523 MB / 0.9669 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & ./Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches