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.001513/0.001513, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001747/0.001747, allocations: 192.1 kB / 16.53 MB, free: 6.391 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.417/1.417, allocations: 222.9 MB / 240.2 MB, free: 4.262 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.864/2.864, allocations: 472.6 MB / 0.7451 GB, free: 4.598 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 65.33 kB / 0.912 GB, free: 33.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.329/0.3303, allocations: 159.9 MB / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.007937/0.3383, allocations: 5.12 MB / 1.073 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.179/0.5173, allocations: 150.7 MB / 1.22 GB, free: 14 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001414/0.5188, allocations: 19.88 kB / 1.22 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006722/0.5195, allocations: 198.1 kB / 1.221 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001833/0.5214, allocations: 0.5681 MB / 1.221 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002099/0.5235, allocations: 0.848 MB / 1.222 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001408/0.5249, allocations: 1.432 MB / 1.223 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009055/0.5258, allocations: 0.656 MB / 1.224 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007137/0.5266, allocations: 0.5022 MB / 1.224 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000593/0.5272, allocations: 0.5407 MB / 1.225 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001673/0.5273, allocations: 124 kB / 1.225 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001/0.5283, allocations: 471.6 kB / 1.226 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000297/0.5286, allocations: 319 kB / 1.226 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005543/0.5292, allocations: 0.6025 MB / 1.226 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00181/0.531, allocations: 1.686 MB / 1.228 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 8.346e-06/0.531, allocations: 11.98 kB / 1.228 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.663e-06/0.5311, allocations: 0 / 1.228 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.526e-05/0.5311, allocations: 0 / 1.228 GB, free: 6.012 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.002443/0.5335, allocations: 1.492 MB / 1.23 GB, free: 4.465 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.5336, allocations: 8.031 kB / 1.23 GB, free: 4.457 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00106/0.5346, allocations: 219.3 kB / 1.23 GB, free: 4.242 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001011/0.5357, allocations: 0.7577 MB / 1.23 GB, free: 3.445 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.86e-05/0.5357, allocations: 70 kB / 1.231 GB, free: 3.375 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001152/0.5359, allocations: 92 kB / 1.231 GB, free: 3.285 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001581/0.5375, allocations: 1.011 MB / 1.232 GB, free: 2.238 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/0.5375, allocations: 4 kB / 1.232 GB, free: 2.234 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.637e-05/0.5376, allocations: 40 kB / 1.232 GB, free: 2.195 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.067e-05/0.5376, allocations: 24 kB / 1.232 GB, free: 2.172 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001811/0.5394, allocations: 1.171 MB / 1.233 GB, free: 1 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.004051/0.5435, allocations: 2.886 MB / 1.236 GB, free: 13.99 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002366/0.5459, allocations: 0.9829 MB / 1.237 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005612/0.5464, allocations: 314.7 kB / 1.237 GB, free: 12.67 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.001e-05/0.5465, allocations: 28.62 kB / 1.237 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009389/0.5475, allocations: 0.5068 MB / 1.237 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=82): time 3.657e-06/0.5475, allocations: 0 / 1.237 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of matching and sorting (n=82): time 0.003307/0.5508, allocations: 1.233 MB / 1.239 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001135/0.5509, allocations: 192.5 kB / 1.239 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008466/0.5518, allocations: 0.6411 MB / 1.239 GB, free: 9.973 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.543e-05/0.5518, allocations: 41.7 kB / 1.239 GB, free: 9.926 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003518/0.5522, allocations: 416.3 kB / 1.24 GB, free: 9.512 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002328/0.5524, allocations: 272.1 kB / 1.24 GB, free: 9.242 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002464/0.5527, allocations: 170.4 kB / 1.24 GB, free: 9.07 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001801/0.5529, allocations: 386.8 kB / 1.241 GB, free: 8.684 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005675/0.5535, allocations: 277.8 kB / 1.241 GB, free: 8.41 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006607/0.5541, allocations: 375.1 kB / 1.241 GB, free: 8.031 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0012/0.5553, allocations: 0.619 MB / 1.242 GB, free: 7.406 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.828e-06/0.5554, allocations: 0 / 1.242 GB, free: 7.406 MB / 0.9981 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00205/0.5574, allocations: 0.8799 MB / 1.243 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.434e-05/0.5574, allocations: 5.562 kB / 1.243 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.5575, allocations: 4.094 kB / 1.243 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006014/0.5581, allocations: 76.78 kB / 1.243 GB, free: 6.426 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006743/0.5588, allocations: 171.8 kB / 1.243 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002305/0.5611, allocations: 1.63 MB / 1.245 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007726/0.5619, allocations: 95.25 kB / 1.245 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.028e-05/0.5619, allocations: 35.98 kB / 1.245 GB, free: 4.355 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.0005042/0.5625, allocations: 275.4 kB / 1.245 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001674/0.5626, allocations: 86.97 kB / 1.245 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002466/0.5651, allocations: 1.105 MB / 1.246 GB, free: 2.867 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.274e-05/0.5651, allocations: 12 kB / 1.246 GB, free: 2.855 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.5651, allocations: 0 / 1.246 GB, free: 2.855 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.415e-05/0.5652, allocations: 3.984 kB / 1.246 GB, free: 2.852 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00379/0.569, allocations: 2.001 MB / 1.248 GB, free: 0.793 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/0.569, allocations: 0 / 1.248 GB, free: 0.793 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007512/0.5697, allocations: 147.8 kB / 1.248 GB, free: 0.6484 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000611/0.5704, allocations: 76.78 kB / 1.248 GB, free: 0.5703 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.39e-05/0.5705, allocations: 31.91 kB / 1.248 GB, free: 0.5391 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6266/1.197, allocations: 1.647 MB / 1.25 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/1.197, allocations: 1.344 kB / 1.25 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002319/1.199, allocations: 1.019 MB / 1.251 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004127/1.2, allocations: 275.6 kB / 1.251 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001245/1.2, allocations: 19.33 kB / 1.251 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006801/1.201, allocations: 73.58 kB / 1.251 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001703/1.201, allocations: 72.12 kB / 1.251 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.041e-05/1.201, allocations: 36.59 kB / 1.251 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006498/1.202, allocations: 463.4 kB / 1.252 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.51e-07/1.202, allocations: 0 / 1.252 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001144/1.203, allocations: 345.9 kB / 1.252 GB, free: 182.1 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.001406/1.204, allocations: 0.6048 MB / 1.253 GB, free: 182 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002639/1.207, allocations: 1.066 MB / 1.254 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/1.207, allocations: 0 / 1.254 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001018/1.208, allocations: 0.5288 MB / 1.254 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001337/1.209, allocations: 302.4 kB / 1.255 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003283/1.213, allocations: 1.74 MB / 1.256 GB, free: 181 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004351/1.213, allocations: 1.047 MB / 1.257 GB, free: 180.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009216/1.214, allocations: 270.4 kB / 1.258 GB, free: 180.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002413/1.214, allocations: 113 kB / 1.258 GB, free: 180.3 MB / 0.9981 GB Notification: Performance of SimCode: time 9.62e-07/1.214, allocations: 0 / 1.258 GB, free: 180.3 MB / 0.9981 GB Notification: Performance of Templates: time 0.03225/1.246, allocations: 15.59 MB / 1.273 GB, free: 177.7 MB / 0.9981 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