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.0056/0.005601, allocations: 99.8 kB / 15.73 MB, free: 6.043 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.001119/0.001119, allocations: 185.5 kB / 16.67 MB, free: 5.977 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.423/1.423, allocations: 222.9 MB / 240.4 MB, free: 4.336 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.44/2.44, allocations: 390.2 MB / 0.6648 GB, free: 240 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 61.31 kB / 0.9508 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3147/0.3159, allocations: 140.4 MB / 1.088 GB, free: 1.555 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.005743/0.3216, allocations: 4.382 MB / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1617/0.4834, allocations: 150.6 MB / 1.239 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001039/0.4844, allocations: 19.88 kB / 1.239 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006226/0.4851, allocations: 174.4 kB / 1.239 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001623/0.4868, allocations: 0.5029 MB / 1.24 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001875/0.4887, allocations: 0.8323 MB / 1.241 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001251/0.4899, allocations: 1.32 MB / 1.242 GB, free: 3.125 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008736/0.4908, allocations: 0.6946 MB / 1.243 GB, free: 2.41 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005393/0.4914, allocations: 0.4982 MB / 1.243 GB, free: 1.91 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005127/0.4919, allocations: 0.5289 MB / 1.244 GB, free: 1.379 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001567/0.492, allocations: 128 kB / 1.244 GB, free: 1.254 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008204/0.4929, allocations: 491.6 kB / 1.244 GB, free: 0.7734 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002615/0.4931, allocations: 319 kB / 1.245 GB, free: 472 kB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004694/0.4936, allocations: 0.5791 MB / 1.245 GB, free: 15.88 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.00158/0.4952, allocations: 1.694 MB / 1.247 GB, free: 14.18 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.4952, allocations: 0 / 1.247 GB, free: 14.18 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.004e-06/0.4952, allocations: 4 kB / 1.247 GB, free: 14.18 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.454e-05/0.4953, allocations: 0 / 1.247 GB, free: 14.18 MB / 1.014 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.002312/0.4976, allocations: 1.477 MB / 1.248 GB, free: 12.65 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.4976, allocations: 8.031 kB / 1.248 GB, free: 12.64 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009956/0.4986, allocations: 211.3 kB / 1.248 GB, free: 12.43 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001052/0.4997, allocations: 0.785 MB / 1.249 GB, free: 11.61 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.192e-05/0.4998, allocations: 74 kB / 1.249 GB, free: 11.53 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001069/0.4999, allocations: 88 kB / 1.249 GB, free: 11.45 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001635/0.5015, allocations: 1.007 MB / 1.25 GB, free: 10.4 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.127e-05/0.5015, allocations: 0 / 1.25 GB, free: 10.4 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.393e-05/0.5016, allocations: 40 kB / 1.25 GB, free: 10.36 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.352e-05/0.5017, allocations: 24 kB / 1.25 GB, free: 10.34 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001825/0.5035, allocations: 1.179 MB / 1.252 GB, free: 9.156 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003736/0.5072, allocations: 2.585 MB / 1.254 GB, free: 6.508 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002251/0.5095, allocations: 0.966 MB / 1.255 GB, free: 5.527 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005448/0.5101, allocations: 314.7 kB / 1.255 GB, free: 5.215 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 8.31e-05/0.5102, allocations: 32.61 kB / 1.255 GB, free: 5.184 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008588/0.511, allocations: 0.4952 MB / 1.256 GB, free: 4.668 MB / 1.014 GB Notification: Performance of pre-optimization done (n=82): time 3.026e-06/0.511, allocations: 4 kB / 1.256 GB, free: 4.664 MB / 1.014 GB Notification: Performance of matching and sorting (n=82): time 0.003014/0.5141, allocations: 1.225 MB / 1.257 GB, free: 3.414 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001021/0.5142, allocations: 196.5 kB / 1.257 GB, free: 3.18 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007307/0.5149, allocations: 0.6448 MB / 1.258 GB, free: 2.527 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.029e-05/0.515, allocations: 45.64 kB / 1.258 GB, free: 2.477 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000293/0.5153, allocations: 420.3 kB / 1.258 GB, free: 2.059 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001874/0.5155, allocations: 264.2 kB / 1.259 GB, free: 1.797 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002365/0.5157, allocations: 166.5 kB / 1.259 GB, free: 1.625 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001514/0.5159, allocations: 390.8 kB / 1.259 GB, free: 1.234 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005396/0.5164, allocations: 269.8 kB / 1.259 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006386/0.5171, allocations: 375 kB / 1.26 GB, free: 0.5898 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.7474/1.265, allocations: 0.6162 MB / 1.26 GB, free: 173.1 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.061e-05/1.265, allocations: 0.6562 kB / 1.26 GB, free: 173.1 MB / 1.014 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002736/1.267, allocations: 0.8732 MB / 1.261 GB, free: 173 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.047e-05/1.267, allocations: 8.297 kB / 1.261 GB, free: 173 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/1.267, allocations: 0.75 kB / 1.261 GB, free: 173 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006331/1.268, allocations: 82.22 kB / 1.261 GB, free: 173 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007689/1.269, allocations: 167.8 kB / 1.261 GB, free: 173 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002008/1.271, allocations: 1.628 MB / 1.263 GB, free: 171.7 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009237/1.272, allocations: 91.53 kB / 1.263 GB, free: 171.7 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.773e-05/1.272, allocations: 37.89 kB / 1.263 GB, free: 171.7 MB / 1.014 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.000634/1.273, allocations: 284.1 kB / 1.263 GB, free: 171.5 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002136/1.273, allocations: 82.78 kB / 1.263 GB, free: 171.5 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002838/1.276, allocations: 1.093 MB / 1.265 GB, free: 171.5 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.405e-05/1.276, allocations: 9.578 kB / 1.265 GB, free: 171.5 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/1.276, allocations: 4.719 kB / 1.265 GB, free: 171.4 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.637e-05/1.276, allocations: 6 kB / 1.265 GB, free: 171.4 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004057/1.28, allocations: 2.007 MB / 1.267 GB, free: 170.7 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/1.28, allocations: 0 / 1.267 GB, free: 170.7 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006617/1.28, allocations: 156.1 kB / 1.267 GB, free: 170.6 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000442/1.281, allocations: 74.58 kB / 1.267 GB, free: 170.6 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.355e-05/1.281, allocations: 23.36 kB / 1.267 GB, free: 170.6 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001722/1.283, allocations: 1.662 MB / 1.268 GB, free: 169.1 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/1.283, allocations: 1.062 kB / 1.268 GB, free: 169.1 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002394/1.285, allocations: 1.031 MB / 1.269 GB, free: 168.6 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004871/1.286, allocations: 274.5 kB / 1.27 GB, free: 168.4 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001296/1.286, allocations: 19.92 kB / 1.27 GB, free: 168.4 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006963/1.286, allocations: 65.98 kB / 1.27 GB, free: 168.4 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002139/1.287, allocations: 73.92 kB / 1.27 GB, free: 168.4 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.952e-05/1.287, allocations: 33.28 kB / 1.27 GB, free: 168.4 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007336/1.287, allocations: 465.8 kB / 1.27 GB, free: 168.2 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.653e-06/1.287, allocations: 0 / 1.27 GB, free: 168.2 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001254/1.289, allocations: 331.6 kB / 1.271 GB, free: 168.1 MB / 1.014 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.001486/1.29, allocations: 0.6114 MB / 1.271 GB, free: 167.9 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002191/1.292, allocations: 0.85 MB / 1.272 GB, free: 167.5 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.461e-06/1.292, allocations: 1.297 kB / 1.272 GB, free: 167.5 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001325/1.294, allocations: 0.5284 MB / 1.273 GB, free: 167.3 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001594/1.295, allocations: 295.4 kB / 1.273 GB, free: 167.2 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00469/1.3, allocations: 1.838 MB / 1.275 GB, free: 166.3 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006902/1.301, allocations: 1.042 MB / 1.276 GB, free: 165.6 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0011/1.302, allocations: 259.7 kB / 1.276 GB, free: 165.5 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003399/1.302, allocations: 110.2 kB / 1.276 GB, free: 165.5 MB / 1.014 GB Notification: Performance of SimCode: time 1.232e-06/1.302, allocations: 1.188 kB / 1.276 GB, free: 165.5 MB / 1.014 GB Notification: Performance of Templates: time 0.03648/1.339, allocations: 15.58 MB / 1.291 GB, free: 161.8 MB / 1.014 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