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/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.362/2.362, allocations: 390.5 MB / 398 MB, free: 10.95 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.00151/0.00151, allocations: 172.8 kB / 491.2 MB, free: 1.547 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.885/1.885, allocations: 221.5 MB / 0.7868 GB, free: 13.27 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.0009336/0.0009339, allocations: 99.52 kB / 0.9269 GB, free: 13.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.712e-05/1.715e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3835/0.3835, allocations: 143 MB / 1.212 GB, free: 39.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.991/5.375, allocations: 1.731 GB / 2.944 GB, free: 107.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003473/5.375, allocations: 94.06 kB / 2.944 GB, free: 107.4 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1922/5.568, allocations: 67.54 MB / 3.01 GB, free: 45.12 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.414e-06/5.568, allocations: 3.984 kB / 3.01 GB, free: 45.11 MB / 1.151 GB Notification: Performance of Transformations before backend: time 8.289e-05/5.568, allocations: 31.94 kB / 3.01 GB, free: 45.08 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.00175/5.569, allocations: 1.103 MB / 3.011 GB, free: 43.92 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/5.57, allocations: 12.03 kB / 3.011 GB, free: 43.91 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001025/5.571, allocations: 210.5 kB / 3.011 GB, free: 43.7 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008199/5.571, allocations: 0.6231 MB / 3.011 GB, free: 43.04 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.191e-05/5.571, allocations: 31.94 kB / 3.012 GB, free: 43.01 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.858e-05/5.572, allocations: 52 kB / 3.012 GB, free: 42.96 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001202/5.573, allocations: 1.023 MB / 3.013 GB, free: 41.93 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001063/5.574, allocations: 0.7733 MB / 3.013 GB, free: 41.12 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.934e-05/5.574, allocations: 3.953 kB / 3.013 GB, free: 41.12 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.467e-05/5.574, allocations: 4 kB / 3.013 GB, free: 41.12 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.495e-05/5.574, allocations: 28 kB / 3.013 GB, free: 41.09 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002992/5.577, allocations: 2.344 MB / 3.016 GB, free: 38.7 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001542/5.578, allocations: 0.7848 MB / 3.016 GB, free: 37.88 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002867/5.579, allocations: 235.2 kB / 3.017 GB, free: 37.65 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 7.123e-05/5.579, allocations: 36.8 kB / 3.017 GB, free: 37.62 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004901/5.579, allocations: 399.9 kB / 3.017 GB, free: 37.21 MB / 1.151 GB Notification: Performance of pre-optimization done (n=73): time 2.815e-06/5.579, allocations: 0 / 3.017 GB, free: 37.21 MB / 1.151 GB Notification: Performance of matching and sorting (n=73): time 0.001312/5.581, allocations: 0.6408 MB / 3.018 GB, free: 36.55 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.483e-05/5.581, allocations: 244.1 kB / 3.018 GB, free: 36.26 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000511/5.581, allocations: 0.4905 MB / 3.018 GB, free: 35.77 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.156e-05/5.581, allocations: 25.7 kB / 3.018 GB, free: 35.73 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002054/5.582, allocations: 404 kB / 3.019 GB, free: 35.33 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001249/5.582, allocations: 232.4 kB / 3.019 GB, free: 35.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.095e-05/5.582, allocations: 4 kB / 3.019 GB, free: 35.1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.369e-05/5.582, allocations: 370.8 kB / 3.019 GB, free: 34.73 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002408/5.582, allocations: 189.5 kB / 3.02 GB, free: 34.54 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003145/5.582, allocations: 295.5 kB / 3.02 GB, free: 34.22 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003144/5.583, allocations: 236.4 kB / 3.02 GB, free: 33.99 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/5.583, allocations: 4 kB / 3.02 GB, free: 33.99 MB / 1.151 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001194/5.584, allocations: 0.6407 MB / 3.021 GB, free: 33.34 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/5.584, allocations: 9.562 kB / 3.021 GB, free: 33.33 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/5.584, allocations: 4.062 kB / 3.021 GB, free: 33.32 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005453/5.585, allocations: 80.77 kB / 3.021 GB, free: 33.24 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005401/5.585, allocations: 143.8 kB / 3.021 GB, free: 33.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00147/5.587, allocations: 1.449 MB / 3.022 GB, free: 31.53 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005258/5.587, allocations: 67.58 kB / 3.022 GB, free: 31.46 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.102e-05/5.587, allocations: 27.98 kB / 3.022 GB, free: 31.43 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.0001499/5.587, allocations: 120.8 kB / 3.023 GB, free: 31.31 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.943e-05/5.587, allocations: 67.16 kB / 3.023 GB, free: 31.24 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001707/5.589, allocations: 0.9063 MB / 3.023 GB, free: 30.32 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/5.589, allocations: 8 kB / 3.023 GB, free: 30.31 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.355e-06/5.589, allocations: 0 / 3.023 GB, free: 30.31 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.006e-05/5.589, allocations: 11.94 kB / 3.024 GB, free: 30.3 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002358/5.592, allocations: 1.699 MB / 3.025 GB, free: 28.55 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/5.592, allocations: 3.938 kB / 3.025 GB, free: 28.55 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005443/5.592, allocations: 147.8 kB / 3.025 GB, free: 28.41 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004575/5.593, allocations: 88.77 kB / 3.025 GB, free: 28.32 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.28e-05/5.593, allocations: 15.98 kB / 3.025 GB, free: 28.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001305/5.594, allocations: 1.469 MB / 3.027 GB, free: 26.71 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/5.594, allocations: 0 / 3.027 GB, free: 26.71 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001325/5.595, allocations: 0.826 MB / 3.028 GB, free: 25.87 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003064/5.596, allocations: 271.9 kB / 3.028 GB, free: 25.59 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.972e-05/5.596, allocations: 3.984 kB / 3.028 GB, free: 25.58 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005394/5.596, allocations: 47.95 kB / 3.028 GB, free: 25.54 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/5.596, allocations: 72.62 kB / 3.028 GB, free: 25.46 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.113e-05/5.596, allocations: 27.98 kB / 3.028 GB, free: 25.44 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0004048/5.597, allocations: 398.9 kB / 3.028 GB, free: 25.05 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.5e-07/5.597, allocations: 0 / 3.028 GB, free: 25.05 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001018/5.598, allocations: 350.8 kB / 3.029 GB, free: 24.71 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.001683/5.6, allocations: 1.098 MB / 3.03 GB, free: 23.71 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001075/5.601, allocations: 0.6395 MB / 3.03 GB, free: 23.05 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/5.601, allocations: 0 / 3.03 GB, free: 23.05 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.000569/5.601, allocations: 444.7 kB / 3.031 GB, free: 22.61 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001072/5.602, allocations: 214.7 kB / 3.031 GB, free: 22.41 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003033/5.605, allocations: 1.321 MB / 3.032 GB, free: 21.06 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004414/5.606, allocations: 1.039 MB / 3.033 GB, free: 19.99 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0008508/5.607, allocations: 261.6 kB / 3.034 GB, free: 19.73 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002237/5.607, allocations: 95.39 kB / 3.034 GB, free: 19.64 MB / 1.151 GB Notification: Performance of SimCode: time 4.31e-07/5.607, allocations: 0 / 3.034 GB, free: 19.64 MB / 1.151 GB Notification: Performance of Templates: time 0.02209/5.629, allocations: 15.59 MB / 3.049 GB, free: 4.188 MB / 1.151 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=480 -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","../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches