Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.0007622/0.000762, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.00503/0.00503, allocations: 170.7 kB / 16.26 MB, free: 6.676 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.41/1.41, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.497/2.497, allocations: 390.9 MB / 0.6663 GB, free: 2.434 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003842/0.0003842, allocations: 19.94 kB / 0.816 GB, free: 13.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8276/0.828, allocations: 142.4 MB / 0.955 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.004965/0.833, allocations: 3.97 MB / 0.9589 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1861/1.019, allocations: 146.7 MB / 1.102 GB, free: 8.18 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008813/1.02, allocations: 19.94 kB / 1.102 GB, free: 8.16 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005516/1.021, allocations: 130.9 kB / 1.102 GB, free: 8.031 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001627/1.022, allocations: 428.5 kB / 1.103 GB, free: 7.613 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002127/1.024, allocations: 0.7395 MB / 1.103 GB, free: 6.883 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001386/1.026, allocations: 1.219 MB / 1.105 GB, free: 5.66 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009196/1.027, allocations: 0.666 MB / 1.105 GB, free: 4.965 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000537/1.027, allocations: 350.2 kB / 1.106 GB, free: 4.621 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004744/1.028, allocations: 393.7 kB / 1.106 GB, free: 4.234 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.34e-05/1.028, allocations: 24 kB / 1.106 GB, free: 4.211 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008069/1.029, allocations: 375.6 kB / 1.106 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002042/1.029, allocations: 195.1 kB / 1.107 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004785/1.029, allocations: 474.7 kB / 1.107 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002273/1.032, allocations: 1.542 MB / 1.109 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.927e-06/1.032, allocations: 0 / 1.109 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.266e-06/1.032, allocations: 0 / 1.109 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.114e-05/1.032, allocations: 0 / 1.109 GB, free: 1.633 MB / 0.8575 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.003036/1.035, allocations: 1.251 MB / 1.11 GB, free: 344 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.793e-05/1.035, allocations: 8.031 kB / 1.11 GB, free: 336 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001208/1.036, allocations: 223.3 kB / 1.11 GB, free: 112 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00121/1.037, allocations: 0.7694 MB / 1.111 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.174e-05/1.037, allocations: 70 kB / 1.111 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001299/1.038, allocations: 95.94 kB / 1.111 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001757/1.039, allocations: 1.007 MB / 1.112 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.055e-05/1.039, allocations: 0 / 1.112 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.583e-05/1.039, allocations: 40 kB / 1.112 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.132e-05/1.039, allocations: 24 kB / 1.112 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001925/1.041, allocations: 1.182 MB / 1.113 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004184/1.046, allocations: 2.659 MB / 1.116 GB, free: 10.11 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002394/1.048, allocations: 0.9732 MB / 1.117 GB, free: 9.105 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005925/1.049, allocations: 314.7 kB / 1.117 GB, free: 8.797 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 8.311e-05/1.049, allocations: 36.59 kB / 1.117 GB, free: 8.762 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009542/1.05, allocations: 0.4991 MB / 1.117 GB, free: 8.242 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=82): time 2.605e-06/1.05, allocations: 0 / 1.117 GB, free: 8.242 MB / 0.8731 GB Notification: Performance of matching and sorting (n=82): time 0.003303/1.053, allocations: 1.233 MB / 1.119 GB, free: 6.98 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001184/1.053, allocations: 204.4 kB / 1.119 GB, free: 6.738 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008338/1.054, allocations: 0.6371 MB / 1.119 GB, free: 6.098 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7.585e-05/1.054, allocations: 41.7 kB / 1.119 GB, free: 6.051 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003434/1.054, allocations: 424.2 kB / 1.12 GB, free: 5.629 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002225/1.055, allocations: 264.2 kB / 1.12 GB, free: 5.367 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001063/1.055, allocations: 73.67 kB / 1.12 GB, free: 5.289 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001752/1.055, allocations: 386.8 kB / 1.121 GB, free: 4.902 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005812/1.055, allocations: 277.8 kB / 1.121 GB, free: 4.629 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006658/1.056, allocations: 375.1 kB / 1.121 GB, free: 4.25 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001231/1.057, allocations: 0.6307 MB / 1.122 GB, free: 3.613 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/1.057, allocations: 0 / 1.122 GB, free: 3.613 MB / 0.8731 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002074/1.059, allocations: 0.8799 MB / 1.123 GB, free: 2.719 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/1.06, allocations: 8 kB / 1.123 GB, free: 2.711 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/1.06, allocations: 0 / 1.123 GB, free: 2.711 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006593/1.06, allocations: 84.86 kB / 1.123 GB, free: 2.625 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007464/1.061, allocations: 167.8 kB / 1.123 GB, free: 2.461 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002397/1.063, allocations: 1.516 MB / 1.124 GB, free: 0.8086 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008595/1.064, allocations: 118.9 kB / 1.125 GB, free: 0.6953 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.174e-05/1.064, allocations: 44.03 kB / 1.125 GB, free: 0.6523 MB / 0.8731 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.000545/1.065, allocations: 278.3 kB / 1.125 GB, free: 384 kB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001319/1.065, allocations: 79.06 kB / 1.125 GB, free: 304 kB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002501/1.068, allocations: 1.11 MB / 1.126 GB, free: 15.17 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.22e-05/1.068, allocations: 8 kB / 1.126 GB, free: 15.16 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/1.068, allocations: 3.938 kB / 1.126 GB, free: 15.16 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.3e-05/1.068, allocations: 3.984 kB / 1.126 GB, free: 15.15 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003359/1.071, allocations: 2.024 MB / 1.128 GB, free: 13.07 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/1.071, allocations: 0 / 1.128 GB, free: 13.07 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006191/1.072, allocations: 155.8 kB / 1.128 GB, free: 12.92 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005279/1.072, allocations: 84.78 kB / 1.128 GB, free: 12.83 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.024e-05/1.072, allocations: 27.97 kB / 1.128 GB, free: 12.8 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001803/1.074, allocations: 1.544 MB / 1.13 GB, free: 11.12 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/1.074, allocations: 7.922 kB / 1.13 GB, free: 11.11 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002095/1.076, allocations: 1.016 MB / 1.131 GB, free: 10.07 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000441/1.077, allocations: 299.5 kB / 1.131 GB, free: 9.762 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000119/1.077, allocations: 20 kB / 1.131 GB, free: 9.742 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000733/1.077, allocations: 83.92 kB / 1.131 GB, free: 9.66 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001664/1.078, allocations: 76.89 kB / 1.131 GB, free: 9.586 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.985e-05/1.078, allocations: 31.98 kB / 1.131 GB, free: 9.555 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.00063/1.078, allocations: 471 kB / 1.132 GB, free: 9.102 MB / 0.8887 GB Notification: Performance of sort global known variables: time 4.01e-07/1.078, allocations: 0 / 1.132 GB, free: 9.102 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0009878/1.079, allocations: 323.1 kB / 1.132 GB, free: 8.785 MB / 0.8887 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.00148/1.081, allocations: 0.6097 MB / 1.133 GB, free: 8.348 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001829/1.083, allocations: 0.8626 MB / 1.133 GB, free: 7.473 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/1.083, allocations: 3.938 kB / 1.133 GB, free: 7.469 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.000957/1.084, allocations: 0.5314 MB / 1.134 GB, free: 6.922 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001319/1.085, allocations: 269 kB / 1.134 GB, free: 6.664 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004457/1.089, allocations: 2.338 MB / 1.136 GB, free: 4.309 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006009/1.09, allocations: 1.049 MB / 1.138 GB, free: 3.23 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0009451/1.091, allocations: 266.7 kB / 1.138 GB, free: 2.965 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002751/1.091, allocations: 107.4 kB / 1.138 GB, free: 2.859 MB / 0.8887 GB Notification: Performance of SimCode: time 9.12e-07/1.091, allocations: 0 / 1.138 GB, free: 2.859 MB / 0.8887 GB Notification: Performance of Templates: time 0.02551/1.117, allocations: 14.41 MB / 1.152 GB, free: 4.605 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches