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.301/2.301, allocations: 390.3 MB / 402.8 MB, free: 6.699 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.00159/0.00159, allocations: 184.7 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.822/1.822, allocations: 221.3 MB / 0.7915 GB, free: 5.426 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.001263/0.001263, allocations: 99.83 kB / 0.9318 GB, free: 5.734 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.857e-05/3.871e-05, allocations: 7.984 kB / 1.079 GB, free: 140.6 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3322/0.3323, allocations: 143 MB / 1.219 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.746/5.078, allocations: 1.732 GB / 2.951 GB, free: 104 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002961/5.079, allocations: 91.94 kB / 2.951 GB, free: 103.9 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1444/5.223, allocations: 68.38 MB / 3.017 GB, free: 35.25 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.796e-06/5.223, allocations: 0 / 3.017 GB, free: 35.25 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001556/5.223, allocations: 31.98 kB / 3.018 GB, free: 35.22 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.00367/5.227, allocations: 1.103 MB / 3.019 GB, free: 34.07 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 7.217e-05/5.227, allocations: 15.95 kB / 3.019 GB, free: 34.05 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001754/5.229, allocations: 214.4 kB / 3.019 GB, free: 33.84 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001978/5.231, allocations: 0.6192 MB / 3.019 GB, free: 33.18 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.027e-05/5.231, allocations: 66 kB / 3.019 GB, free: 33.11 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001882/5.231, allocations: 88 kB / 3.02 GB, free: 33.03 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001558/5.233, allocations: 0.9061 MB / 3.02 GB, free: 32.09 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.489e-05/5.233, allocations: 3.984 kB / 3.02 GB, free: 32.08 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.268e-05/5.233, allocations: 39.95 kB / 3.02 GB, free: 32.04 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.86e-05/5.233, allocations: 20 kB / 3.02 GB, free: 32.02 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001352/5.234, allocations: 1.073 MB / 3.022 GB, free: 30.95 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004052/5.238, allocations: 2.511 MB / 3.024 GB, free: 28.37 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001778/5.24, allocations: 0.8428 MB / 3.025 GB, free: 27.5 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000358/5.24, allocations: 263.2 kB / 3.025 GB, free: 27.23 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 9.261e-05/5.24, allocations: 28.81 kB / 3.025 GB, free: 27.21 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006142/5.241, allocations: 425.2 kB / 3.026 GB, free: 26.77 MB / 1.167 GB Notification: Performance of pre-optimization done (n=73): time 2.995e-06/5.241, allocations: 0 / 3.026 GB, free: 26.77 MB / 1.167 GB Notification: Performance of matching and sorting (n=73): time 0.001542/5.243, allocations: 0.6914 MB / 3.026 GB, free: 26.07 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.755e-05/5.243, allocations: 240.1 kB / 3.026 GB, free: 25.78 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006623/5.243, allocations: 0.5855 MB / 3.027 GB, free: 25.19 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 5.952e-05/5.243, allocations: 41.7 kB / 3.027 GB, free: 25.14 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002221/5.244, allocations: 396.2 kB / 3.027 GB, free: 24.75 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001418/5.244, allocations: 244.4 kB / 3.028 GB, free: 24.51 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.07e-05/5.244, allocations: 12 kB / 3.028 GB, free: 24.5 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.384e-05/5.244, allocations: 382.8 kB / 3.028 GB, free: 24.11 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002828/5.244, allocations: 197.5 kB / 3.028 GB, free: 23.92 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003595/5.245, allocations: 313.1 kB / 3.028 GB, free: 23.59 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000349/5.245, allocations: 246 kB / 3.029 GB, free: 23.35 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/5.245, allocations: 7.953 kB / 3.029 GB, free: 23.34 MB / 1.167 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001295/5.246, allocations: 0.6798 MB / 3.029 GB, free: 22.65 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/5.246, allocations: 5.562 kB / 3.029 GB, free: 22.64 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/5.246, allocations: 0 / 3.029 GB, free: 22.64 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006375/5.247, allocations: 88.77 kB / 3.029 GB, free: 22.55 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005637/5.248, allocations: 139.8 kB / 3.03 GB, free: 22.42 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001698/5.249, allocations: 1.516 MB / 3.031 GB, free: 20.76 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006046/5.25, allocations: 95.42 kB / 3.031 GB, free: 20.67 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.966e-05/5.25, allocations: 27.94 kB / 3.031 GB, free: 20.64 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 () * 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.0001667/5.25, allocations: 145.5 kB / 3.031 GB, free: 20.49 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001107/5.25, allocations: 75.06 kB / 3.031 GB, free: 20.42 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00194/5.252, allocations: 0.9655 MB / 3.032 GB, free: 19.44 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/5.252, allocations: 11.95 kB / 3.032 GB, free: 19.43 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.355e-06/5.252, allocations: 0 / 3.032 GB, free: 19.43 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/5.252, allocations: 7.969 kB / 3.032 GB, free: 19.42 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002658/5.255, allocations: 1.889 MB / 3.034 GB, free: 17.47 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/5.255, allocations: 0 / 3.034 GB, free: 17.47 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000561/5.256, allocations: 151.8 kB / 3.034 GB, free: 17.32 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004921/5.256, allocations: 76.78 kB / 3.034 GB, free: 17.24 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.482e-05/5.256, allocations: 27.98 kB / 3.034 GB, free: 17.21 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001713/5.258, allocations: 1.54 MB / 3.036 GB, free: 15.53 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/5.258, allocations: 0 / 3.036 GB, free: 15.53 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001512/5.259, allocations: 0.8766 MB / 3.037 GB, free: 14.63 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004083/5.26, allocations: 279.7 kB / 3.037 GB, free: 14.34 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001065/5.26, allocations: 19.98 kB / 3.037 GB, free: 14.32 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005965/5.261, allocations: 71.91 kB / 3.037 GB, free: 14.25 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001572/5.261, allocations: 60.69 kB / 3.037 GB, free: 14.19 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.867e-05/5.261, allocations: 27.98 kB / 3.037 GB, free: 14.16 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0006086/5.261, allocations: 495.1 kB / 3.038 GB, free: 13.68 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.61e-07/5.261, allocations: 0 / 3.038 GB, free: 13.68 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001159/5.263, allocations: 371 kB / 3.038 GB, free: 13.32 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) * 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.001811/5.264, allocations: 1.031 MB / 3.039 GB, free: 12.44 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001197/5.266, allocations: 0.6785 MB / 3.04 GB, free: 11.74 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/5.266, allocations: 128 / 3.04 GB, free: 11.74 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0006198/5.266, allocations: 478.8 kB / 3.04 GB, free: 11.26 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001053/5.267, allocations: 242.6 kB / 3.04 GB, free: 11.03 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002912/5.27, allocations: 1.36 MB / 3.042 GB, free: 9.645 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003879/5.271, allocations: 1.035 MB / 3.043 GB, free: 8.582 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0007801/5.271, allocations: 262.2 kB / 3.043 GB, free: 8.32 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002257/5.272, allocations: 99.39 kB / 3.043 GB, free: 8.223 MB / 1.167 GB Notification: Performance of SimCode: time 5.71e-07/5.272, allocations: 0 / 3.043 GB, free: 8.223 MB / 1.167 GB Notification: Performance of Templates: time 0.6504/5.922, allocations: 22.1 MB / 3.065 GB, free: 396.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