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.469/2.469, allocations: 393.5 MB / 408.4 MB, free: 11 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.001328/0.001328, allocations: 172 kB / 0.4902 GB, free: 2.234 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.635/1.635, allocations: 223.1 MB / 0.7992 GB, free: 15.66 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.001147/0.001147, allocations: 90.41 kB / 0.9396 GB, free: 2.848 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003951/0.0003951, allocations: 13.75 kB / 1.09 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3083/0.3087, allocations: 143 MB / 1.229 GB, free: 85.5 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.415/4.724, allocations: 1.732 GB / 2.961 GB, free: 196.8 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003971/4.725, allocations: 98.75 kB / 2.961 GB, free: 196.8 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1512/4.876, allocations: 68.68 MB / 3.028 GB, free: 137.9 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.604e-06/4.876, allocations: 7.938 kB / 3.028 GB, free: 137.9 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001103/4.876, allocations: 27.94 kB / 3.028 GB, free: 137.8 MB / 1.167 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.002949/4.879, allocations: 1.223 MB / 3.03 GB, free: 136.6 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/4.879, allocations: 8.562 kB / 3.03 GB, free: 136.6 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001352/4.88, allocations: 210.5 kB / 3.03 GB, free: 136.4 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001412/4.882, allocations: 0.6309 MB / 3.03 GB, free: 135.9 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.668e-05/4.882, allocations: 66.38 kB / 3.03 GB, free: 135.8 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001359/4.882, allocations: 86.5 kB / 3.03 GB, free: 135.8 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00171/4.884, allocations: 0.9388 MB / 3.031 GB, free: 135.1 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.183e-05/4.884, allocations: 4 kB / 3.031 GB, free: 135.1 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001033/4.884, allocations: 45.2 kB / 3.031 GB, free: 135.1 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.871e-05/4.884, allocations: 20 kB / 3.031 GB, free: 135 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001751/4.886, allocations: 1.128 MB / 3.033 GB, free: 134.2 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003998/4.89, allocations: 2.506 MB / 3.035 GB, free: 132.2 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002045/4.892, allocations: 0.8911 MB / 3.036 GB, free: 131.5 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 8.137e-05/4.892, allocations: 40.48 kB / 3.036 GB, free: 131.4 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007209/4.893, allocations: 441.2 kB / 3.036 GB, free: 131.1 MB / 1.167 GB Notification: Performance of pre-optimization done (n=73): time 4.368e-06/4.893, allocations: 0 / 3.036 GB, free: 131.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=73): time 0.002937/4.896, allocations: 1.113 MB / 3.037 GB, free: 130.2 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.994e-05/4.896, allocations: 243.9 kB / 3.038 GB, free: 129.9 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008192/4.896, allocations: 0.6008 MB / 3.038 GB, free: 129.5 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 7.446e-05/4.897, allocations: 40.58 kB / 3.038 GB, free: 129.4 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002768/4.897, allocations: 397.2 kB / 3.039 GB, free: 129.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001516/4.897, allocations: 237.9 kB / 3.039 GB, free: 129 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.417e-05/4.897, allocations: 14.69 kB / 3.039 GB, free: 128.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001024/4.897, allocations: 376.3 kB / 3.039 GB, free: 128.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004121/4.898, allocations: 229.9 kB / 3.039 GB, free: 128.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004763/4.898, allocations: 331.6 kB / 3.04 GB, free: 128.2 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004558/4.899, allocations: 266.5 kB / 3.04 GB, free: 128 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/4.899, allocations: 0 / 3.04 GB, free: 128 MB / 1.167 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001667/4.9, allocations: 0.7448 MB / 3.041 GB, free: 127.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/4.9, allocations: 7.984 kB / 3.041 GB, free: 127.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/4.9, allocations: 0 / 3.041 GB, free: 127.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006242/4.901, allocations: 80.34 kB / 3.041 GB, free: 127.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005779/4.902, allocations: 143.7 kB / 3.041 GB, free: 127.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001746/4.903, allocations: 1.54 MB / 3.043 GB, free: 125.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006103/4.904, allocations: 90.39 kB / 3.043 GB, free: 125.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.275e-05/4.904, allocations: 27.92 kB / 3.043 GB, free: 125.6 MB / 1.167 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 () * Number of clocked 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.0004122/4.904, allocations: 250.5 kB / 3.043 GB, free: 125.4 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000109/4.904, allocations: 79.05 kB / 3.043 GB, free: 125.3 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002024/4.907, allocations: 1.023 MB / 3.044 GB, free: 124.6 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.243e-06/4.907, allocations: 11.95 kB / 3.044 GB, free: 124.6 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.414e-06/4.907, allocations: 0 / 3.044 GB, free: 124.6 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.448e-06/4.907, allocations: 7.969 kB / 3.044 GB, free: 124.5 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002801/4.909, allocations: 1.932 MB / 3.046 GB, free: 123.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/4.909, allocations: 4 kB / 3.046 GB, free: 123.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005644/4.91, allocations: 158.5 kB / 3.046 GB, free: 122.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005089/4.91, allocations: 84.09 kB / 3.046 GB, free: 122.9 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.228e-05/4.911, allocations: 23.48 kB / 3.046 GB, free: 122.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001505/4.912, allocations: 1.553 MB / 3.048 GB, free: 121.3 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/4.912, allocations: 4.031 kB / 3.048 GB, free: 121.3 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001634/4.914, allocations: 0.9342 MB / 3.049 GB, free: 120.6 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003686/4.914, allocations: 281.6 kB / 3.049 GB, free: 120.3 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001026/4.914, allocations: 15.06 kB / 3.049 GB, free: 120.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000602/4.915, allocations: 82.64 kB / 3.049 GB, free: 120.2 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/4.915, allocations: 52.67 kB / 3.049 GB, free: 120.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.603e-05/4.915, allocations: 35.41 kB / 3.049 GB, free: 120.2 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0005285/4.916, allocations: 491.5 kB / 3.049 GB, free: 119.8 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.7e-07/4.916, allocations: 4 kB / 3.049 GB, free: 119.8 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.00114/4.917, allocations: 365.8 kB / 3.05 GB, free: 119.5 MB / 1.167 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) * Number of clocked states: 0 () * 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.001831/4.919, allocations: 1.069 MB / 3.051 GB, free: 118.7 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001428/4.92, allocations: 0.7376 MB / 3.052 GB, free: 118.1 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/4.92, allocations: 0 / 3.052 GB, free: 118.1 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007778/4.921, allocations: 0.4917 MB / 3.052 GB, free: 117.7 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001045/4.922, allocations: 236.3 kB / 3.052 GB, free: 117.5 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003707/4.926, allocations: 2.167 MB / 3.054 GB, free: 115.5 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004126/4.926, allocations: 1.042 MB / 3.055 GB, free: 114.4 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0009112/4.927, allocations: 266.1 kB / 3.056 GB, free: 114.2 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002516/4.927, allocations: 93.7 kB / 3.056 GB, free: 114.1 MB / 1.167 GB Notification: Performance of SimCode: time 1.152e-06/4.927, allocations: 0 / 3.056 GB, free: 114.1 MB / 1.167 GB Notification: Performance of Templates: time 0.03401/4.961, allocations: 20.45 MB / 3.076 GB, free: 93.8 MB / 1.167 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