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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001529/0.001529, 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.001796/0.001796, allocations: 192.9 kB / 16.14 MB, free: 6.711 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.397/1.397, allocations: 222.9 MB / 239.8 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.758/2.758, allocations: 461.9 MB / 0.7342 GB, free: 15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 62.28 kB / 0.8984 GB, free: 37.24 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3561/0.3574, allocations: 157.4 MB / 1.052 GB, free: 8.855 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.007008/0.3644, allocations: 5.132 MB / 1.057 GB, free: 3.699 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.182/0.5465, allocations: 148.3 MB / 1.202 GB, free: 14.8 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00134/0.5479, allocations: 15.94 kB / 1.202 GB, free: 14.78 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001044/0.549, allocations: 162.8 kB / 1.202 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002583/0.5516, allocations: 491.7 kB / 1.203 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002472/0.554, allocations: 0.733 MB / 1.203 GB, free: 13.42 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002134/0.5562, allocations: 1.342 MB / 1.205 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001115/0.5573, allocations: 0.6353 MB / 1.205 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007602/0.5581, allocations: 454.2 kB / 1.206 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005937/0.5587, allocations: 0.5133 MB / 1.206 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001417/0.5589, allocations: 64 kB / 1.206 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009704/0.5598, allocations: 407.6 kB / 1.207 GB, free: 9.984 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003501/0.5602, allocations: 267 kB / 1.207 GB, free: 9.723 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0005666/0.5608, allocations: 0.5439 MB / 1.207 GB, free: 9.176 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001943/0.5627, allocations: 1.636 MB / 1.209 GB, free: 7.535 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.5627, allocations: 0 / 1.209 GB, free: 7.535 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.323e-06/0.5627, allocations: 0 / 1.209 GB, free: 7.535 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.795e-05/0.5628, allocations: 0 / 1.209 GB, free: 7.535 MB / 0.9669 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.003056/0.5658, allocations: 1.492 MB / 1.21 GB, free: 5.996 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.55e-05/0.5659, allocations: 12.03 kB / 1.21 GB, free: 5.984 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001277/0.5672, allocations: 219.2 kB / 1.211 GB, free: 5.77 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001301/0.5685, allocations: 0.7616 MB / 1.211 GB, free: 4.965 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.675e-05/0.5686, allocations: 78 kB / 1.212 GB, free: 4.891 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000131/0.5687, allocations: 88 kB / 1.212 GB, free: 4.805 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001887/0.5706, allocations: 1.007 MB / 1.213 GB, free: 3.758 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.175e-05/0.5707, allocations: 0 / 1.213 GB, free: 3.758 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.255e-05/0.5708, allocations: 36 kB / 1.213 GB, free: 3.723 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.465e-05/0.5708, allocations: 24 kB / 1.213 GB, free: 3.699 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001979/0.5728, allocations: 1.179 MB / 1.214 GB, free: 2.523 MB / 0.9669 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.00464/0.5774, allocations: 2.887 MB / 1.217 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002565/0.58, allocations: 0.9746 MB / 1.218 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006067/0.5806, allocations: 314.7 kB / 1.218 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.395e-05/0.5807, allocations: 36.59 kB / 1.218 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001095/0.5818, allocations: 0.4952 MB / 1.218 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=82): time 2.735e-06/0.5818, allocations: 0 / 1.218 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of matching and sorting (n=82): time 0.003517/0.5854, allocations: 1.229 MB / 1.22 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002356/0.5856, allocations: 196.5 kB / 1.22 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009554/0.5866, allocations: 0.6448 MB / 1.22 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.271e-05/0.5867, allocations: 41.7 kB / 1.22 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003453/0.587, allocations: 420.3 kB / 1.221 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002215/0.5872, allocations: 272.1 kB / 1.221 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002616/0.5875, allocations: 162.5 kB / 1.221 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001787/0.5877, allocations: 386.8 kB / 1.222 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005809/0.5883, allocations: 277.8 kB / 1.222 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006898/0.589, allocations: 375.1 kB / 1.222 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001326/0.5903, allocations: 0.6267 MB / 1.223 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.5903, allocations: 4 kB / 1.223 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002281/0.5926, allocations: 0.8799 MB / 1.224 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.5927, allocations: 4 kB / 1.224 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.5927, allocations: 0 / 1.224 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006319/0.5933, allocations: 84.8 kB / 1.224 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000734/0.5941, allocations: 167.8 kB / 1.224 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002608/0.5967, allocations: 1.52 MB / 1.225 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009273/0.5976, allocations: 104.9 kB / 1.226 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.726e-05/0.5977, allocations: 31.97 kB / 1.226 GB, free: 5.988 MB / 0.9825 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.0006103/0.5983, allocations: 284.9 kB / 1.226 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001799/0.5985, allocations: 82.97 kB / 1.226 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002585/0.6011, allocations: 1.101 MB / 1.227 GB, free: 4.496 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.856e-06/0.6011, allocations: 8 kB / 1.227 GB, free: 4.488 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.6011, allocations: 3.938 kB / 1.227 GB, free: 4.484 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.979e-06/0.6011, allocations: 3.984 kB / 1.227 GB, free: 4.48 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00356/0.6047, allocations: 2.004 MB / 1.229 GB, free: 2.418 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.6047, allocations: 0 / 1.229 GB, free: 2.418 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006628/0.6054, allocations: 151.8 kB / 1.229 GB, free: 2.27 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005368/0.606, allocations: 84.77 kB / 1.229 GB, free: 2.184 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.16e-05/0.606, allocations: 23.98 kB / 1.229 GB, free: 2.16 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001979/0.608, allocations: 1.536 MB / 1.231 GB, free: 500 kB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/0.608, allocations: 11.97 kB / 1.231 GB, free: 488 kB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00223/0.6103, allocations: 1.012 MB / 1.232 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004515/0.6107, allocations: 275.7 kB / 1.232 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001468/0.6109, allocations: 27.83 kB / 1.232 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007877/0.6117, allocations: 75.94 kB / 1.232 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002021/0.6119, allocations: 72.89 kB / 1.232 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.737e-05/0.612, allocations: 35.97 kB / 1.232 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007377/0.6127, allocations: 467 kB / 1.233 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.81e-07/0.6127, allocations: 0 / 1.233 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001261/0.614, allocations: 339.2 kB / 1.233 GB, free: 14.16 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.001889/0.6159, allocations: 0.5978 MB / 1.234 GB, free: 13.74 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002083/0.618, allocations: 0.8508 MB / 1.234 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.618, allocations: 0 / 1.234 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001009/0.619, allocations: 0.5237 MB / 1.235 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001375/0.6204, allocations: 289.3 kB / 1.235 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003959/0.6244, allocations: 2.179 MB / 1.237 GB, free: 9.859 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007601/0.6252, allocations: 1.047 MB / 1.238 GB, free: 8.781 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009543/0.6261, allocations: 274.8 kB / 1.239 GB, free: 8.508 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003615/0.6265, allocations: 103.4 kB / 1.239 GB, free: 8.406 MB / 0.9981 GB Notification: Performance of SimCode: time 9.92e-07/0.6265, allocations: 0 / 1.239 GB, free: 8.406 MB / 0.9981 GB Notification: Performance of Templates: time 0.5454/1.172, allocations: 14.91 MB / 1.253 GB, free: 191.6 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