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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.274/2.274, allocations: 387.1 MB / 399.7 MB, free: 9.496 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 169 kB / 492.3 MB, free: 0.6172 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.617/1.617, allocations: 221.3 MB / 0.7872 GB, free: 12.89 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009059/0.0009059, allocations: 106.5 kB / 0.9267 GB, free: 13.95 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.402e-05/3.405e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3155/0.3156, allocations: 142.3 MB / 1.212 GB, free: 38.53 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.555/4.871, allocations: 1.731 GB / 2.943 GB, free: 134.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002707/4.871, allocations: 95.75 kB / 2.944 GB, free: 134.3 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.138/5.009, allocations: 68.37 MB / 3.01 GB, free: 65.63 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.234e-06/5.009, allocations: 4 kB / 3.01 GB, free: 65.62 MB / 1.151 GB Notification: Performance of Transformations before backend: time 6.173e-05/5.009, allocations: 27.94 kB / 3.01 GB, free: 65.6 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 227 * Number of variables: 227 Notification: Performance of Generate backend data structure: time 0.001563/5.011, allocations: 1.111 MB / 3.011 GB, free: 64.43 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/5.011, allocations: 12.03 kB / 3.011 GB, free: 64.42 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009711/5.012, allocations: 222.3 kB / 3.012 GB, free: 64.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007788/5.013, allocations: 0.6193 MB / 3.012 GB, free: 63.54 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.076e-05/5.013, allocations: 70 kB / 3.012 GB, free: 63.47 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.25e-05/5.013, allocations: 84 kB / 3.012 GB, free: 63.39 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001186/5.014, allocations: 0.9022 MB / 3.013 GB, free: 62.45 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.728e-05/5.014, allocations: 0 / 3.013 GB, free: 62.45 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.633e-05/5.014, allocations: 40 kB / 3.013 GB, free: 62.41 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.506e-05/5.014, allocations: 27.95 kB / 3.013 GB, free: 62.38 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001273/5.016, allocations: 1.073 MB / 3.014 GB, free: 61.31 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003074/5.019, allocations: 2.519 MB / 3.017 GB, free: 58.72 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001636/5.02, allocations: 0.8306 MB / 3.018 GB, free: 57.86 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003258/5.021, allocations: 267.2 kB / 3.018 GB, free: 57.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 7.178e-05/5.021, allocations: 28.73 kB / 3.018 GB, free: 57.57 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000538/5.021, allocations: 417.5 kB / 3.018 GB, free: 57.14 MB / 1.151 GB Notification: Performance of pre-optimization done (n=73): time 2.274e-06/5.021, allocations: 0 / 3.018 GB, free: 57.14 MB / 1.151 GB Notification: Performance of matching and sorting (n=73): time 0.001443/5.023, allocations: 0.6914 MB / 3.019 GB, free: 56.44 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.817e-05/5.023, allocations: 244.1 kB / 3.019 GB, free: 56.14 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006251/5.023, allocations: 0.5855 MB / 3.02 GB, free: 55.55 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.778e-05/5.024, allocations: 41.7 kB / 3.02 GB, free: 55.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002192/5.024, allocations: 388.2 kB / 3.02 GB, free: 55.12 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001393/5.024, allocations: 248.4 kB / 3.02 GB, free: 54.87 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.114e-05/5.024, allocations: 12 kB / 3.02 GB, free: 54.86 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.458e-05/5.024, allocations: 378.8 kB / 3.021 GB, free: 54.48 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002902/5.024, allocations: 201.5 kB / 3.021 GB, free: 54.29 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003467/5.025, allocations: 313 kB / 3.021 GB, free: 53.95 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003455/5.025, allocations: 246 kB / 3.022 GB, free: 53.71 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/5.025, allocations: 0 / 3.022 GB, free: 53.71 MB / 1.151 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001307/5.026, allocations: 0.6914 MB / 3.022 GB, free: 53.01 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/5.026, allocations: 7.984 kB / 3.022 GB, free: 53 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/5.026, allocations: 4 kB / 3.022 GB, free: 53 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005678/5.027, allocations: 80.84 kB / 3.022 GB, free: 52.91 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005382/5.028, allocations: 139.8 kB / 3.022 GB, free: 52.78 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001608/5.029, allocations: 1.517 MB / 3.024 GB, free: 51.12 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005417/5.03, allocations: 83.33 kB / 3.024 GB, free: 51.04 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.986e-05/5.03, allocations: 23.98 kB / 3.024 GB, free: 51.02 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001438/5.03, allocations: 155.1 kB / 3.024 GB, free: 50.86 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000102/5.03, allocations: 79.06 kB / 3.024 GB, free: 50.78 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0018/5.032, allocations: 0.9653 MB / 3.025 GB, free: 49.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/5.032, allocations: 8 kB / 3.025 GB, free: 49.79 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/5.032, allocations: 7.953 kB / 3.025 GB, free: 49.78 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.195e-06/5.032, allocations: 3.984 kB / 3.025 GB, free: 49.78 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002419/5.034, allocations: 1.893 MB / 3.027 GB, free: 47.82 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/5.034, allocations: 0 / 3.027 GB, free: 47.82 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005482/5.035, allocations: 147.8 kB / 3.027 GB, free: 47.68 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004527/5.035, allocations: 84.77 kB / 3.027 GB, free: 47.59 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.553e-05/5.035, allocations: 19.98 kB / 3.027 GB, free: 47.57 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001348/5.037, allocations: 1.532 MB / 3.029 GB, free: 45.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/5.037, allocations: 0 / 3.029 GB, free: 45.9 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001344/5.038, allocations: 0.8728 MB / 3.03 GB, free: 45.01 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000316/5.038, allocations: 287.7 kB / 3.03 GB, free: 44.71 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.872e-05/5.039, allocations: 20 kB / 3.03 GB, free: 44.69 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005858/5.039, allocations: 63.95 kB / 3.03 GB, free: 44.62 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/5.039, allocations: 64.64 kB / 3.03 GB, free: 44.56 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-05/5.039, allocations: 31.98 kB / 3.03 GB, free: 44.53 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0005004/5.04, allocations: 487.1 kB / 3.031 GB, free: 44.06 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.5e-07/5.04, allocations: 4 kB / 3.031 GB, free: 44.06 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001054/5.041, allocations: 371 kB / 3.031 GB, free: 43.7 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001579/5.043, allocations: 1.032 MB / 3.032 GB, free: 42.81 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001094/5.044, allocations: 0.6828 MB / 3.033 GB, free: 42.12 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.399e-06/5.044, allocations: 7.938 kB / 3.033 GB, free: 42.11 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006008/5.044, allocations: 479 kB / 3.033 GB, free: 41.62 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009648/5.045, allocations: 240.3 kB / 3.033 GB, free: 41.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002989/5.048, allocations: 1.36 MB / 3.035 GB, free: 40.01 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003574/5.049, allocations: 1.039 MB / 3.036 GB, free: 38.95 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0007861/5.049, allocations: 262.2 kB / 3.036 GB, free: 38.68 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002234/5.05, allocations: 91.39 kB / 3.036 GB, free: 38.59 MB / 1.151 GB Notification: Performance of SimCode: time 7.61e-07/5.05, allocations: 0 / 3.036 GB, free: 38.59 MB / 1.151 GB Notification: Performance of Templates: time 0.02797/5.078, allocations: 22.1 MB / 3.058 GB, free: 16.59 MB / 1.151 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","../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches