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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001558/0.001558, allocations: 105.5 kB / 16.35 MB, free: 5.824 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.00171/0.00171, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.355/1.355, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.486/2.486, allocations: 442.6 MB / 0.7165 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 60.59 kB / 0.8773 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2904/0.2916, allocations: 153 MB / 1.027 GB, free: 2.062 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.006408/0.2981, allocations: 5.131 MB / 1.032 GB, free: 12.91 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.6715/0.9697, allocations: 150.7 MB / 1.179 GB, free: 6.547 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008336/0.9705, allocations: 18.66 kB / 1.179 GB, free: 6.539 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.000585/0.9711, allocations: 201.7 kB / 1.179 GB, free: 6.41 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.001581/0.9728, allocations: 0.5565 MB / 1.18 GB, free: 6.086 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001847/0.9747, allocations: 0.8498 MB / 1.18 GB, free: 5.59 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001435/0.9761, allocations: 1.442 MB / 1.182 GB, free: 4.695 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008706/0.977, allocations: 0.6569 MB / 1.182 GB, free: 4.297 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006419/0.9776, allocations: 0.5095 MB / 1.183 GB, free: 3.988 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005785/0.9782, allocations: 0.5391 MB / 1.184 GB, free: 3.605 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001538/0.9784, allocations: 125.1 kB / 1.184 GB, free: 3.605 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000915/0.9793, allocations: 0.491 MB / 1.184 GB, free: 3.43 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002952/0.9796, allocations: 324.7 kB / 1.184 GB, free: 3.172 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0005261/0.9801, allocations: 0.5987 MB / 1.185 GB, free: 2.734 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001664/0.9818, allocations: 1.732 MB / 1.187 GB, free: 1.488 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.9818, allocations: 4 kB / 1.187 GB, free: 1.484 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.252e-06/0.9818, allocations: 1.156 kB / 1.187 GB, free: 1.484 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.478e-05/0.9819, allocations: 0 / 1.187 GB, free: 1.484 MB / 0.8887 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.002554/0.9844, allocations: 1.489 MB / 1.188 GB, free: 324 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.9845, allocations: 9.625 kB / 1.188 GB, free: 324 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001063/0.9855, allocations: 213.3 kB / 1.188 GB, free: 220 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001233/0.9868, allocations: 0.7844 MB / 1.189 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.062e-05/0.9869, allocations: 68.38 kB / 1.189 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001205/0.987, allocations: 98.53 kB / 1.189 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001657/0.9887, allocations: 1.008 MB / 1.19 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.111e-05/0.9887, allocations: 1.375 kB / 1.19 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.028e-05/0.9888, allocations: 37.62 kB / 1.19 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.96e-05/0.9888, allocations: 22 kB / 1.19 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002052/0.9909, allocations: 1.173 MB / 1.191 GB, free: 14.28 MB / 0.9044 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.004279/0.9952, allocations: 2.857 MB / 1.194 GB, free: 12 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002315/0.9975, allocations: 0.9715 MB / 1.195 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005591/0.9981, allocations: 320.8 kB / 1.196 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 7.917e-05/0.9982, allocations: 32.25 kB / 1.196 GB, free: 11.28 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008824/0.9991, allocations: 0.494 MB / 1.196 GB, free: 10.96 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=82): time 2.224e-06/0.9991, allocations: 0 / 1.196 GB, free: 10.96 MB / 0.9044 GB Notification: Performance of matching and sorting (n=82): time 0.003234/1.002, allocations: 1.229 MB / 1.197 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001008/1.002, allocations: 193.3 kB / 1.197 GB, free: 10.08 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009078/1.003, allocations: 0.649 MB / 1.198 GB, free: 9.695 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 7.647e-05/1.003, allocations: 44.14 kB / 1.198 GB, free: 9.652 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003492/1.004, allocations: 420.7 kB / 1.198 GB, free: 9.285 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002347/1.004, allocations: 268.2 kB / 1.199 GB, free: 9.055 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002735/1.004, allocations: 165.1 kB / 1.199 GB, free: 8.957 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001824/1.005, allocations: 388.7 kB / 1.199 GB, free: 8.586 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005678/1.005, allocations: 276 kB / 1.2 GB, free: 8.453 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000635/1.006, allocations: 379 kB / 1.2 GB, free: 8.234 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001143/1.007, allocations: 0.6239 MB / 1.201 GB, free: 7.898 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/1.007, allocations: 0 / 1.201 GB, free: 7.898 MB / 0.9044 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001964/1.009, allocations: 0.8705 MB / 1.201 GB, free: 7.453 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/1.009, allocations: 9 kB / 1.201 GB, free: 7.449 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/1.009, allocations: 3.984 kB / 1.201 GB, free: 7.445 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005929/1.01, allocations: 81.81 kB / 1.201 GB, free: 7.406 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006833/1.01, allocations: 174.1 kB / 1.202 GB, free: 7.355 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001975/1.012, allocations: 1.618 MB / 1.203 GB, free: 5.77 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007947/1.013, allocations: 102.1 kB / 1.203 GB, free: 5.703 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.463e-05/1.013, allocations: 43.95 kB / 1.203 GB, free: 5.684 MB / 0.9044 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.0004508/1.014, allocations: 276.4 kB / 1.204 GB, free: 5.469 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001588/1.014, allocations: 87.06 kB / 1.204 GB, free: 5.422 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002385/1.016, allocations: 1.098 MB / 1.205 GB, free: 4.809 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/1.016, allocations: 10.31 kB / 1.205 GB, free: 4.809 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/1.016, allocations: 0 / 1.205 GB, free: 4.809 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.909e-06/1.016, allocations: 3.984 kB / 1.205 GB, free: 4.805 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003183/1.019, allocations: 2.004 MB / 1.207 GB, free: 3.477 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/1.019, allocations: 0 / 1.207 GB, free: 3.477 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005989/1.02, allocations: 160.3 kB / 1.207 GB, free: 3.434 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004228/1.02, allocations: 67.88 kB / 1.207 GB, free: 3.398 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.829e-05/1.02, allocations: 26.27 kB / 1.207 GB, free: 3.383 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001796/1.022, allocations: 1.657 MB / 1.209 GB, free: 1.766 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/1.022, allocations: 0 / 1.209 GB, free: 1.766 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002032/1.024, allocations: 1.025 MB / 1.21 GB, free: 1.184 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000428/1.025, allocations: 273.9 kB / 1.21 GB, free: 0.9414 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001287/1.025, allocations: 21.28 kB / 1.21 GB, free: 0.9258 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006666/1.026, allocations: 64.45 kB / 1.21 GB, free: 0.8945 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001416/1.026, allocations: 73.19 kB / 1.21 GB, free: 0.8555 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.264e-05/1.026, allocations: 35 kB / 1.21 GB, free: 0.8438 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0005622/1.026, allocations: 467.9 kB / 1.21 GB, free: 408 kB / 0.9044 GB Notification: Performance of sort global known variables: time 1.9e-07/1.026, allocations: 0 / 1.21 GB, free: 408 kB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0009127/1.027, allocations: 343.2 kB / 1.211 GB, free: 64 kB / 0.9044 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.00132/1.029, allocations: 0.6121 MB / 1.211 GB, free: 15.62 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001689/1.03, allocations: 0.8555 MB / 1.212 GB, free: 14.76 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/1.03, allocations: 3.938 kB / 1.212 GB, free: 14.75 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0009478/1.031, allocations: 0.5278 MB / 1.213 GB, free: 14.21 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001174/1.032, allocations: 308.6 kB / 1.213 GB, free: 13.93 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002932/1.035, allocations: 1.719 MB / 1.215 GB, free: 12.19 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005879/1.036, allocations: 1.039 MB / 1.216 GB, free: 11.12 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0007917/1.037, allocations: 274.8 kB / 1.216 GB, free: 10.85 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002755/1.037, allocations: 111.4 kB / 1.216 GB, free: 10.74 MB / 0.92 GB Notification: Performance of SimCode: time 4.91e-07/1.037, allocations: 0 / 1.216 GB, free: 10.74 MB / 0.92 GB Notification: Performance of Templates: time 0.02531/1.062, allocations: 15.56 MB / 1.231 GB, free: 11.38 MB / 0.9356 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 -s gbode -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/jenkins1/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