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.001461/0.001461, allocations: 110.6 kB / 16.41 MB, free: 6.488 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.001663/0.001663, allocations: 187 kB / 17.34 MB, free: 5.762 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.404/1.404, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.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.304/2.304, allocations: 390.3 MB / 0.6655 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001513/0.001513, allocations: 59.91 kB / 0.9515 GB, free: 7.723 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8328/0.8343, allocations: 140.4 MB / 1.089 GB, free: 5.555 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.005912/0.8403, allocations: 4.394 MB / 1.093 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1774/1.018, allocations: 150.6 MB / 1.24 GB, free: 0.9375 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00108/1.019, allocations: 15.69 kB / 1.24 GB, free: 0.9336 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006675/1.02, allocations: 172.4 kB / 1.24 GB, free: 0.7812 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001949/1.022, allocations: 0.5086 MB / 1.241 GB, free: 416 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002369/1.024, allocations: 0.8314 MB / 1.241 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00175/1.026, allocations: 1.32 MB / 1.243 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001055/1.027, allocations: 0.7004 MB / 1.243 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008057/1.028, allocations: 0.5007 MB / 1.244 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006471/1.028, allocations: 0.5189 MB / 1.244 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001683/1.028, allocations: 126.3 kB / 1.245 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001162/1.03, allocations: 0.4906 MB / 1.245 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002779/1.03, allocations: 322.9 kB / 1.245 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005985/1.03, allocations: 0.5751 MB / 1.246 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001923/1.032, allocations: 1.7 MB / 1.248 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/1.032, allocations: 0 / 1.248 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.643e-06/1.032, allocations: 4 kB / 1.248 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.568e-05/1.032, allocations: 0 / 1.248 GB, free: 11.04 MB / 0.9825 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.002463/1.035, allocations: 1.469 MB / 1.249 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/1.035, allocations: 12.03 kB / 1.249 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001066/1.036, allocations: 211.3 kB / 1.249 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001238/1.037, allocations: 0.785 MB / 1.25 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.211e-05/1.037, allocations: 70 kB / 1.25 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001258/1.037, allocations: 95.94 kB / 1.25 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001709/1.039, allocations: 1.011 MB / 1.251 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.865e-05/1.039, allocations: 0 / 1.251 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.449e-05/1.039, allocations: 39.98 kB / 1.251 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.58e-05/1.039, allocations: 24 kB / 1.251 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001954/1.041, allocations: 1.175 MB / 1.252 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004182/1.045, allocations: 2.589 MB / 1.255 GB, free: 3.371 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002304/1.048, allocations: 0.9727 MB / 1.256 GB, free: 2.383 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000557/1.048, allocations: 310.7 kB / 1.256 GB, free: 2.074 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.89e-05/1.048, allocations: 36.59 kB / 1.256 GB, free: 2.039 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009035/1.049, allocations: 499.2 kB / 1.257 GB, free: 1.531 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=82): time 2.554e-06/1.049, allocations: 4 kB / 1.257 GB, free: 1.527 MB / 0.9825 GB Notification: Performance of matching and sorting (n=82): time 0.003285/1.053, allocations: 1.221 MB / 1.258 GB, free: 288 kB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001093/1.053, allocations: 196.5 kB / 1.258 GB, free: 48 kB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007996/1.054, allocations: 0.6371 MB / 1.259 GB, free: 15.4 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.149e-05/1.054, allocations: 41.7 kB / 1.259 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003157/1.054, allocations: 424.2 kB / 1.259 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000231/1.054, allocations: 264.2 kB / 1.259 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000239/1.055, allocations: 166.5 kB / 1.259 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001539/1.055, allocations: 390.8 kB / 1.26 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005493/1.055, allocations: 273.8 kB / 1.26 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006701/1.056, allocations: 371 kB / 1.26 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001211/1.057, allocations: 0.619 MB / 1.261 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/1.057, allocations: 0 / 1.261 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002103/1.059, allocations: 0.876 MB / 1.262 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/1.059, allocations: 4 kB / 1.262 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/1.059, allocations: 0 / 1.262 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005743/1.06, allocations: 84.86 kB / 1.262 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007077/1.061, allocations: 167.7 kB / 1.262 GB, free: 11.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002196/1.063, allocations: 1.629 MB / 1.264 GB, free: 9.922 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007561/1.064, allocations: 101.7 kB / 1.264 GB, free: 9.824 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-05/1.064, allocations: 43.91 kB / 1.264 GB, free: 9.781 MB / 0.9981 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.0004601/1.064, allocations: 276 kB / 1.264 GB, free: 9.5 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002464/1.064, allocations: 82.97 kB / 1.264 GB, free: 9.418 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002465/1.067, allocations: 1.089 MB / 1.265 GB, free: 8.316 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.128e-05/1.067, allocations: 8 kB / 1.265 GB, free: 8.309 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.804e-06/1.067, allocations: 7.938 kB / 1.265 GB, free: 8.301 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.13e-05/1.067, allocations: 15.91 kB / 1.265 GB, free: 8.285 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003406/1.07, allocations: 2.003 MB / 1.267 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/1.07, allocations: 0 / 1.267 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005891/1.071, allocations: 151.8 kB / 1.267 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004337/1.071, allocations: 72.78 kB / 1.267 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.965e-05/1.071, allocations: 31.97 kB / 1.267 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001777/1.073, allocations: 1.654 MB / 1.269 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/1.073, allocations: 32 / 1.269 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002066/1.075, allocations: 1.022 MB / 1.27 GB, free: 3.121 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004808/1.076, allocations: 283.7 kB / 1.27 GB, free: 2.824 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001236/1.076, allocations: 16 kB / 1.27 GB, free: 2.809 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006376/1.077, allocations: 67.92 kB / 1.27 GB, free: 2.742 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001577/1.077, allocations: 76.89 kB / 1.271 GB, free: 2.668 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.97e-05/1.077, allocations: 27.98 kB / 1.271 GB, free: 2.641 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005805/1.077, allocations: 471 kB / 1.271 GB, free: 2.188 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2e-07/1.077, allocations: 0 / 1.271 GB, free: 2.188 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000865/1.078, allocations: 327.1 kB / 1.271 GB, free: 1.867 MB / 0.9981 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.001373/1.08, allocations: 0.5963 MB / 1.272 GB, free: 1.441 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001981/1.082, allocations: 0.8548 MB / 1.273 GB, free: 0.5703 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/1.082, allocations: 0 / 1.273 GB, free: 0.5703 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009714/1.083, allocations: 0.5392 MB / 1.273 GB, free: 24 kB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001331/1.084, allocations: 295.9 kB / 1.274 GB, free: 15.75 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004042/1.088, allocations: 1.857 MB / 1.275 GB, free: 13.87 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006444/1.089, allocations: 1.041 MB / 1.276 GB, free: 12.8 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003776/1.089, allocations: 115.4 kB / 1.276 GB, free: 12.68 MB / 1.014 GB Notification: Performance of SimCode: time 8.12e-07/1.089, allocations: 0 / 1.276 GB, free: 12.68 MB / 1.014 GB Notification: Performance of Templates: time 0.02486/1.114, allocations: 19.2 MB / 1.295 GB, free: 9.52 MB / 1.029 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/jenkins1/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