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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.00165/0.00165, allocations: 105.1 kB / 16.27 MB, free: 6.398 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.001582/0.001582, allocations: 191.8 kB / 17.2 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.445/1.445, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.821/2.821, allocations: 482.4 MB / 0.7553 GB, free: 6.988 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 68.2 kB / 0.9245 GB, free: 0 / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8181/0.8201, allocations: 162.2 MB / 1.083 GB, free: 1.648 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.007957/0.8281, allocations: 5.123 MB / 1.088 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.1972/1.025, allocations: 150.7 MB / 1.235 GB, free: 2.668 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001102/1.026, allocations: 15.94 kB / 1.235 GB, free: 2.652 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0006673/1.027, allocations: 194.1 kB / 1.235 GB, free: 2.461 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.002012/1.029, allocations: 0.5668 MB / 1.236 GB, free: 1.895 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002259/1.031, allocations: 0.8427 MB / 1.237 GB, free: 1.059 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001817/1.033, allocations: 1.432 MB / 1.238 GB, free: 15.62 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009792/1.034, allocations: 0.6521 MB / 1.239 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007415/1.035, allocations: 0.51 MB / 1.239 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006907/1.036, allocations: 0.5407 MB / 1.24 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001825/1.036, allocations: 128 kB / 1.24 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001022/1.037, allocations: 467.6 kB / 1.24 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003323/1.037, allocations: 319 kB / 1.241 GB, free: 13 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0005894/1.038, allocations: 0.6025 MB / 1.241 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002065/1.04, allocations: 1.698 MB / 1.243 GB, free: 10.69 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/1.04, allocations: 0 / 1.243 GB, free: 10.69 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.364e-06/1.04, allocations: 0 / 1.243 GB, free: 10.69 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.908e-05/1.04, allocations: 0 / 1.243 GB, free: 10.69 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.002769/1.043, allocations: 1.5 MB / 1.244 GB, free: 9.133 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/1.043, allocations: 12.03 kB / 1.244 GB, free: 9.121 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001146/1.044, allocations: 211.3 kB / 1.244 GB, free: 8.914 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001119/1.045, allocations: 0.7578 MB / 1.245 GB, free: 8.113 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.566e-05/1.045, allocations: 70 kB / 1.245 GB, free: 8.043 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001277/1.045, allocations: 95.98 kB / 1.245 GB, free: 7.949 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001769/1.047, allocations: 1.007 MB / 1.246 GB, free: 6.906 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.064e-05/1.047, allocations: 7.922 kB / 1.246 GB, free: 6.898 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.633e-05/1.047, allocations: 36 kB / 1.246 GB, free: 6.863 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.911e-05/1.047, allocations: 24 kB / 1.246 GB, free: 6.84 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00205/1.049, allocations: 1.179 MB / 1.248 GB, free: 5.656 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004731/1.054, allocations: 2.975 MB / 1.25 GB, free: 2.531 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002585/1.057, allocations: 0.9747 MB / 1.251 GB, free: 1.535 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006332/1.057, allocations: 326.6 kB / 1.252 GB, free: 1.207 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 7.972e-05/1.057, allocations: 24.61 kB / 1.252 GB, free: 1.184 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00104/1.058, allocations: 0.5069 MB / 1.252 GB, free: 0.6602 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=82): time 6.723e-06/1.059, allocations: 3.984 kB / 1.252 GB, free: 0.6562 MB / 0.9669 GB Notification: Performance of matching and sorting (n=82): time 0.003556/1.062, allocations: 1.229 MB / 1.253 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001343/1.062, allocations: 196.5 kB / 1.254 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009355/1.063, allocations: 0.6371 MB / 1.254 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.961e-05/1.063, allocations: 45.7 kB / 1.254 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003962/1.064, allocations: 424.3 kB / 1.255 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002519/1.064, allocations: 264.2 kB / 1.255 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002642/1.064, allocations: 166.4 kB / 1.255 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000217/1.064, allocations: 386.8 kB / 1.256 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006064/1.065, allocations: 277.8 kB / 1.256 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007131/1.066, allocations: 371.1 kB / 1.256 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001281/1.067, allocations: 0.6346 MB / 1.257 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/1.067, allocations: 0 / 1.257 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002193/1.069, allocations: 0.8721 MB / 1.258 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.377e-05/1.069, allocations: 6.5 kB / 1.258 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/1.069, allocations: 4 kB / 1.258 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006237/1.07, allocations: 84.86 kB / 1.258 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007026/1.071, allocations: 163.8 kB / 1.258 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002444/1.073, allocations: 1.64 MB / 1.259 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008202/1.074, allocations: 99.28 kB / 1.26 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.459e-05/1.074, allocations: 35.97 kB / 1.26 GB, free: 8.883 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.0005256/1.075, allocations: 271.6 kB / 1.26 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001829/1.075, allocations: 86.97 kB / 1.26 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002604/1.077, allocations: 1.109 MB / 1.261 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.768e-06/1.077, allocations: 8 kB / 1.261 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/1.077, allocations: 0 / 1.261 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.358e-05/1.077, allocations: 7.969 kB / 1.261 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003593/1.081, allocations: 1.989 MB / 1.263 GB, free: 5.332 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/1.081, allocations: 4 kB / 1.263 GB, free: 5.328 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006338/1.082, allocations: 155.8 kB / 1.263 GB, free: 5.176 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000457/1.082, allocations: 76.72 kB / 1.263 GB, free: 5.098 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.923e-05/1.082, allocations: 23.98 kB / 1.263 GB, free: 5.074 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00208/1.084, allocations: 1.662 MB / 1.265 GB, free: 3.27 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/1.084, allocations: 0 / 1.265 GB, free: 3.27 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002269/1.087, allocations: 1.019 MB / 1.266 GB, free: 2.23 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004178/1.087, allocations: 275.8 kB / 1.266 GB, free: 1.941 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001358/1.087, allocations: 24 kB / 1.266 GB, free: 1.918 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006859/1.088, allocations: 67.92 kB / 1.266 GB, free: 1.852 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001504/1.088, allocations: 68.91 kB / 1.266 GB, free: 1.785 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.512e-05/1.088, allocations: 35.97 kB / 1.266 GB, free: 1.75 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0006625/1.089, allocations: 471 kB / 1.267 GB, free: 1.293 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.5e-07/1.089, allocations: 0 / 1.267 GB, free: 1.293 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0009573/1.09, allocations: 343.1 kB / 1.267 GB, free: 0.957 MB / 0.9825 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.00194/1.092, allocations: 0.609 MB / 1.268 GB, free: 0.5273 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.00269/1.094, allocations: 1.058 MB / 1.269 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/1.094, allocations: 0 / 1.269 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001052/1.095, allocations: 0.5276 MB / 1.269 GB, free: 14.92 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001432/1.097, allocations: 301.4 kB / 1.269 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003297/1.1, allocations: 1.792 MB / 1.271 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007198/1.101, allocations: 1.046 MB / 1.272 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003321/1.101, allocations: 119.4 kB / 1.272 GB, free: 11.63 MB / 0.9981 GB Notification: Performance of SimCode: time 7.72e-07/1.101, allocations: 0 / 1.272 GB, free: 11.63 MB / 0.9981 GB Notification: Performance of Templates: time 0.02858/1.13, allocations: 19.32 MB / 1.291 GB, free: 8.395 MB / 1.014 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=400 -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