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.008852/0.008852, allocations: 96.7 kB / 15.73 MB, free: 6.039 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.00238/0.002381, allocations: 193.3 kB / 16.67 MB, free: 5.969 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.422/1.422, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.516/2.516, allocations: 390.2 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 62.45 kB / 0.9508 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3354/0.3366, allocations: 140.4 MB / 1.088 GB, free: 1.52 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.006135/0.3428, allocations: 4.389 MB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1721/0.515, allocations: 150.6 MB / 1.239 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009987/0.516, allocations: 19.88 kB / 1.239 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006062/0.5166, allocations: 174.3 kB / 1.239 GB, free: 5.742 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00207/0.5187, allocations: 0.5025 MB / 1.24 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002113/0.5209, allocations: 0.8406 MB / 1.241 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00144/0.5223, allocations: 1.324 MB / 1.242 GB, free: 3.074 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00098/0.5233, allocations: 0.699 MB / 1.243 GB, free: 2.355 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006804/0.524, allocations: 0.4944 MB / 1.243 GB, free: 1.859 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006005/0.5246, allocations: 0.5211 MB / 1.244 GB, free: 1.336 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001561/0.5248, allocations: 124 kB / 1.244 GB, free: 1.215 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009422/0.5257, allocations: 0.4917 MB / 1.244 GB, free: 0.7227 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002946/0.526, allocations: 315 kB / 1.245 GB, free: 424 kB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005111/0.5265, allocations: 0.5791 MB / 1.245 GB, free: 15.83 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002135/0.5287, allocations: 1.704 MB / 1.247 GB, free: 14.12 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.5287, allocations: 0 / 1.247 GB, free: 14.12 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.733e-06/0.5287, allocations: 0 / 1.247 GB, free: 14.12 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.983e-05/0.5287, allocations: 0 / 1.247 GB, free: 14.12 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.002847/0.5316, allocations: 1.518 MB / 1.248 GB, free: 12.55 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.5317, allocations: 8.031 kB / 1.248 GB, free: 12.54 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001162/0.5328, allocations: 224 kB / 1.249 GB, free: 12.32 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001293/0.5341, allocations: 0.7856 MB / 1.249 GB, free: 11.5 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.166e-05/0.5342, allocations: 70 kB / 1.249 GB, free: 11.43 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001154/0.5343, allocations: 92 kB / 1.249 GB, free: 11.34 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001703/0.536, allocations: 1.007 MB / 1.25 GB, free: 10.29 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.414e-05/0.5361, allocations: 3.938 kB / 1.25 GB, free: 10.29 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.3e-05/0.5362, allocations: 44 kB / 1.25 GB, free: 10.25 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.898e-05/0.5362, allocations: 20 kB / 1.251 GB, free: 10.23 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001846/0.538, allocations: 1.171 MB / 1.252 GB, free: 9.051 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004385/0.5424, allocations: 2.594 MB / 1.254 GB, free: 6.395 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002417/0.5449, allocations: 0.9727 MB / 1.255 GB, free: 5.406 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006035/0.5455, allocations: 310.6 kB / 1.255 GB, free: 5.098 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 8.371e-05/0.5456, allocations: 36.59 kB / 1.255 GB, free: 5.062 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009061/0.5465, allocations: 0.5008 MB / 1.256 GB, free: 4.543 MB / 1.014 GB Notification: Performance of pre-optimization done (n=82): time 2.625e-06/0.5465, allocations: 0 / 1.256 GB, free: 4.543 MB / 1.014 GB Notification: Performance of matching and sorting (n=82): time 0.003231/0.5498, allocations: 1.225 MB / 1.257 GB, free: 3.293 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001245/0.5499, allocations: 196.5 kB / 1.257 GB, free: 3.059 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008093/0.5507, allocations: 0.641 MB / 1.258 GB, free: 2.41 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.651e-05/0.5508, allocations: 49.64 kB / 1.258 GB, free: 2.355 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003438/0.5512, allocations: 425.1 kB / 1.258 GB, free: 1.934 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002361/0.5514, allocations: 285.6 kB / 1.259 GB, free: 1.652 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000254/0.5517, allocations: 162.5 kB / 1.259 GB, free: 1.484 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001777/0.5518, allocations: 390.8 kB / 1.259 GB, free: 1.094 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005463/0.5524, allocations: 269.8 kB / 1.259 GB, free: 0.832 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006517/0.5531, allocations: 375.1 kB / 1.26 GB, free: 460 kB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.767/1.32, allocations: 0.6163 MB / 1.26 GB, free: 173.1 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-05/1.32, allocations: 0.9375 kB / 1.26 GB, free: 173.1 MB / 1.014 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002565/1.323, allocations: 0.8738 MB / 1.261 GB, free: 173 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.055e-05/1.323, allocations: 5.562 kB / 1.261 GB, free: 173 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.406e-05/1.323, allocations: 1.562 kB / 1.261 GB, free: 173 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006438/1.323, allocations: 77.78 kB / 1.261 GB, free: 173 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007485/1.324, allocations: 172.8 kB / 1.262 GB, free: 173 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00209/1.326, allocations: 1.622 MB / 1.263 GB, free: 171.6 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009409/1.327, allocations: 100.2 kB / 1.263 GB, free: 171.6 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.853e-05/1.327, allocations: 41.33 kB / 1.263 GB, free: 171.6 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.0005485/1.328, allocations: 278.2 kB / 1.264 GB, free: 171.5 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002211/1.328, allocations: 90.64 kB / 1.264 GB, free: 171.5 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003335/1.331, allocations: 1.095 MB / 1.265 GB, free: 171.4 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.625e-05/1.331, allocations: 11.44 kB / 1.265 GB, free: 171.4 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/1.332, allocations: 5.438 kB / 1.265 GB, free: 171.4 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.752e-05/1.332, allocations: 4.406 kB / 1.265 GB, free: 171.4 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005484/1.337, allocations: 2.007 MB / 1.267 GB, free: 170.6 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.508e-06/1.337, allocations: 1.531 kB / 1.267 GB, free: 170.6 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007834/1.338, allocations: 148.6 kB / 1.267 GB, free: 170.5 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005076/1.338, allocations: 72.98 kB / 1.267 GB, free: 170.5 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.745e-05/1.338, allocations: 24.73 kB / 1.267 GB, free: 170.5 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002021/1.341, allocations: 1.668 MB / 1.269 GB, free: 169 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/1.341, allocations: 2.156 kB / 1.269 GB, free: 169 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002537/1.343, allocations: 1.027 MB / 1.27 GB, free: 168.5 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005303/1.344, allocations: 283.2 kB / 1.27 GB, free: 168.3 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001392/1.344, allocations: 19.19 kB / 1.27 GB, free: 168.3 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007088/1.344, allocations: 65.17 kB / 1.27 GB, free: 168.3 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000219/1.345, allocations: 73.73 kB / 1.27 GB, free: 168.3 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.604e-05/1.345, allocations: 33.66 kB / 1.27 GB, free: 168.3 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0009565/1.346, allocations: 471.5 kB / 1.27 GB, free: 168.1 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.2e-07/1.346, allocations: 0 / 1.27 GB, free: 168.1 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00157/1.347, allocations: 331.3 kB / 1.271 GB, free: 168 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.001956/1.349, allocations: 0.6034 MB / 1.271 GB, free: 167.8 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002662/1.352, allocations: 0.8501 MB / 1.272 GB, free: 167.5 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.803e-06/1.352, allocations: 4.719 kB / 1.272 GB, free: 167.5 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001429/1.353, allocations: 0.5322 MB / 1.273 GB, free: 167.2 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001561/1.355, allocations: 301.6 kB / 1.273 GB, free: 167.1 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005168/1.36, allocations: 1.854 MB / 1.275 GB, free: 166.2 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007286/1.361, allocations: 1.044 MB / 1.276 GB, free: 165.5 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0009963/1.362, allocations: 275.3 kB / 1.276 GB, free: 165.4 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000301/1.362, allocations: 110.8 kB / 1.276 GB, free: 165.4 MB / 1.014 GB Notification: Performance of SimCode: time 1.062e-06/1.362, allocations: 0 / 1.276 GB, free: 165.4 MB / 1.014 GB Notification: Performance of Templates: time 0.03171/1.394, allocations: 15.28 MB / 1.291 GB, free: 162 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