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.327/2.327, allocations: 387.4 MB / 394.9 MB, free: 13.4 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.001168/0.001168, allocations: 179.8 kB / 487.4 MB, free: 5.055 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.58/1.58, allocations: 221.5 MB / 0.7824 GB, free: 0.9297 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 95.89 kB / 0.9219 GB, free: 2.152 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.756e-05/2.758e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3263/0.3263, allocations: 142.4 MB / 1.206 GB, free: 43.92 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.328/4.654, allocations: 1.73 GB / 2.936 GB, free: 164.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002679/4.654, allocations: 83.95 kB / 2.936 GB, free: 164.7 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1352/4.79, allocations: 67.53 MB / 3.002 GB, free: 96.88 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.784e-06/4.79, allocations: 4 kB / 3.002 GB, free: 96.88 MB / 1.151 GB Notification: Performance of Transformations before backend: time 6.105e-05/4.79, allocations: 31.92 kB / 3.002 GB, free: 96.84 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.001562/4.791, allocations: 1.107 MB / 3.004 GB, free: 95.68 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/4.791, allocations: 8.031 kB / 3.004 GB, free: 95.67 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000974/4.792, allocations: 222.3 kB / 3.004 GB, free: 95.45 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007619/4.793, allocations: 0.6154 MB / 3.004 GB, free: 94.8 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.142e-05/4.793, allocations: 28 kB / 3.004 GB, free: 94.77 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.117e-05/4.793, allocations: 55.98 kB / 3.004 GB, free: 94.71 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001155/4.794, allocations: 1.023 MB / 3.005 GB, free: 93.69 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001049/4.795, allocations: 0.7733 MB / 3.006 GB, free: 92.88 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.708e-05/4.796, allocations: 0 / 3.006 GB, free: 92.88 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.509e-05/4.796, allocations: 7.953 kB / 3.006 GB, free: 92.87 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.437e-05/4.796, allocations: 20 kB / 3.006 GB, free: 92.85 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002956/4.799, allocations: 2.348 MB / 3.008 GB, free: 90.45 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001566/4.8, allocations: 0.7939 MB / 3.009 GB, free: 89.62 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002881/4.8, allocations: 243.2 kB / 3.009 GB, free: 89.38 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 7.766e-05/4.801, allocations: 32.8 kB / 3.01 GB, free: 89.35 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004891/4.801, allocations: 391.7 kB / 3.01 GB, free: 88.95 MB / 1.151 GB Notification: Performance of pre-optimization done (n=73): time 2.414e-06/4.801, allocations: 0 / 3.01 GB, free: 88.95 MB / 1.151 GB Notification: Performance of matching and sorting (n=73): time 0.00139/4.802, allocations: 0.6486 MB / 3.011 GB, free: 88.29 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.431e-05/4.803, allocations: 240.1 kB / 3.011 GB, free: 88 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005121/4.803, allocations: 498.3 kB / 3.011 GB, free: 87.51 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.045e-05/4.803, allocations: 33.7 kB / 3.011 GB, free: 87.47 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002537/4.803, allocations: 404 kB / 3.012 GB, free: 87.07 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001281/4.804, allocations: 236.4 kB / 3.012 GB, free: 86.84 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.993e-05/4.804, allocations: 0 / 3.012 GB, free: 86.84 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.49e-05/4.804, allocations: 370.8 kB / 3.012 GB, free: 86.46 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002344/4.804, allocations: 193.5 kB / 3.012 GB, free: 86.27 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000284/4.804, allocations: 291.5 kB / 3.013 GB, free: 85.96 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002981/4.804, allocations: 224.5 kB / 3.013 GB, free: 85.74 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/4.804, allocations: 4 kB / 3.013 GB, free: 85.74 MB / 1.151 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001188/4.806, allocations: 0.6524 MB / 3.014 GB, free: 85.07 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/4.806, allocations: 4 kB / 3.014 GB, free: 85.07 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/4.806, allocations: 0 / 3.014 GB, free: 85.07 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000559/4.806, allocations: 84.77 kB / 3.014 GB, free: 84.98 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005484/4.807, allocations: 143.8 kB / 3.014 GB, free: 84.84 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001497/4.808, allocations: 1.454 MB / 3.015 GB, free: 83.27 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005525/4.809, allocations: 63.59 kB / 3.015 GB, free: 83.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.026e-05/4.809, allocations: 31.95 kB / 3.015 GB, free: 83.17 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.0001473/4.809, allocations: 120.8 kB / 3.015 GB, free: 83.05 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.574e-05/4.809, allocations: 67.16 kB / 3.015 GB, free: 82.98 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001696/4.811, allocations: 0.8947 MB / 3.016 GB, free: 82.07 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/4.811, allocations: 8 kB / 3.016 GB, free: 82.06 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/4.811, allocations: 0 / 3.016 GB, free: 82.06 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/4.811, allocations: 3.984 kB / 3.016 GB, free: 82.06 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00226/4.813, allocations: 1.714 MB / 3.018 GB, free: 80.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/4.813, allocations: 3.953 kB / 3.018 GB, free: 80.29 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005263/4.814, allocations: 147.8 kB / 3.018 GB, free: 80.15 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004474/4.814, allocations: 84.77 kB / 3.018 GB, free: 80.06 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.109e-05/4.814, allocations: 15.98 kB / 3.018 GB, free: 80.05 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001303/4.816, allocations: 1.473 MB / 3.02 GB, free: 78.46 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/4.816, allocations: 0 / 3.02 GB, free: 78.46 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001222/4.817, allocations: 0.8221 MB / 3.021 GB, free: 77.61 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002825/4.817, allocations: 275.9 kB / 3.021 GB, free: 77.32 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.544e-05/4.817, allocations: 4 kB / 3.021 GB, free: 77.32 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005331/4.818, allocations: 55.94 kB / 3.021 GB, free: 77.27 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.704e-05/4.818, allocations: 60.69 kB / 3.021 GB, free: 77.21 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.009e-05/4.818, allocations: 35.92 kB / 3.021 GB, free: 77.17 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0003591/4.818, allocations: 402.8 kB / 3.021 GB, free: 76.78 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.7e-07/4.818, allocations: 0 / 3.021 GB, free: 76.78 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0009157/4.819, allocations: 350.8 kB / 3.022 GB, free: 76.44 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.001431/4.821, allocations: 1.081 MB / 3.023 GB, free: 75.46 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0009243/4.822, allocations: 0.6439 MB / 3.023 GB, free: 74.81 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/4.822, allocations: 0 / 3.023 GB, free: 74.81 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005431/4.822, allocations: 444.5 kB / 3.024 GB, free: 74.37 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009691/4.823, allocations: 233.7 kB / 3.024 GB, free: 74.14 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002889/4.826, allocations: 1.321 MB / 3.025 GB, free: 72.79 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003765/4.826, allocations: 1.039 MB / 3.026 GB, free: 71.73 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0007899/4.827, allocations: 253.6 kB / 3.027 GB, free: 71.48 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002103/4.827, allocations: 91.39 kB / 3.027 GB, free: 71.39 MB / 1.151 GB Notification: Performance of SimCode: time 6.42e-07/4.827, allocations: 4 kB / 3.027 GB, free: 71.38 MB / 1.151 GB Notification: Performance of Templates: time 0.02181/4.849, allocations: 15.57 MB / 3.042 GB, free: 55.94 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