Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solTim.solTim|solTim.locTim",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solTim.solTim|solTim.locTim",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 100.9 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.367/1.367, allocations: 223.2 MB / 239.9 MB, free: 5.262 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.717/2.717, allocations: 436.5 MB / 0.7104 GB, free: 7.848 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004572/0.0004572, allocations: 12 kB / 0.8708 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7628/0.7633, allocations: 153.6 MB / 1.021 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002285/0.7657, allocations: 1.274 MB / 1.022 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001154/0.7669, allocations: 0.507 MB / 1.023 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.937e-05/0.767, allocations: 3.938 kB / 1.023 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 3.181e-05/0.767, allocations: 7.922 kB / 1.023 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003564/0.7674, allocations: 31.94 kB / 1.023 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001578/0.7675, allocations: 39.84 kB / 1.023 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001392/0.7677, allocations: 63.89 kB / 1.023 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.7678, allocations: 19.97 kB / 1.023 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001464/0.768, allocations: 47.83 kB / 1.023 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001278/0.7681, allocations: 39.84 kB / 1.023 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.653e-05/0.7681, allocations: 4 kB / 1.023 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 2.301e-05/0.7682, allocations: 4 kB / 1.023 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.176e-05/0.7682, allocations: 19.95 kB / 1.023 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.016e-05/0.7683, allocations: 41.64 kB / 1.023 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001108/0.7684, allocations: 61.78 kB / 1.023 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.7684, allocations: 0 / 1.023 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.954e-06/0.7684, allocations: 4 kB / 1.023 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.189e-06/0.7684, allocations: 0 / 1.023 GB, free: 14.91 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007654/0.7692, allocations: 391.1 kB / 1.023 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.7692, allocations: 15.97 kB / 1.023 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.904e-05/0.7693, allocations: 7.906 kB / 1.023 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001665/0.7695, allocations: 178.9 kB / 1.023 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.487e-05/0.7695, allocations: 8 kB / 1.023 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.222e-05/0.7695, allocations: 15.88 kB / 1.024 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001934/0.7697, allocations: 80.31 kB / 1.024 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.7697, allocations: 3.938 kB / 1.024 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.686e-05/0.7698, allocations: 12 kB / 1.024 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.7698, allocations: 0 / 1.024 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001162/0.7699, allocations: 47.95 kB / 1.024 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005569/0.7705, allocations: 348.6 kB / 1.024 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002803/0.7707, allocations: 110.7 kB / 1.024 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.887e-05/0.7708, allocations: 3.984 kB / 1.024 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002321/0.771, allocations: 91.3 kB / 1.024 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=11): time 1.403e-06/0.771, allocations: 0 / 1.024 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.0003366/0.7714, allocations: 153.6 kB / 1.024 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.633e-05/0.7714, allocations: 55.41 kB / 1.024 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.7715, allocations: 121.8 kB / 1.024 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.17e-05/0.7716, allocations: 29.7 kB / 1.025 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.864e-05/0.7716, allocations: 96.27 kB / 1.025 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.762e-05/0.7717, allocations: 31.69 kB / 1.025 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.975e-06/0.7717, allocations: 4 kB / 1.025 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.7718, allocations: 322.8 kB / 1.025 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.643e-05/0.7719, allocations: 23.98 kB / 1.025 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.476e-05/0.772, allocations: 31.98 kB / 1.025 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.913e-05/0.772, allocations: 31.11 kB / 1.025 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.75e-06/0.772, allocations: 4 kB / 1.025 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001807/0.7722, allocations: 109.6 kB / 1.025 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.7723, allocations: 6.031 kB / 1.025 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.7723, allocations: 0 / 1.025 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.7723, allocations: 3.938 kB / 1.025 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.7724, allocations: 23.98 kB / 1.025 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.7724, allocations: 0 / 1.025 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001014/0.7725, allocations: 8 kB / 1.025 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.397e-05/0.7726, allocations: 7.984 kB / 1.025 GB, free: 12.37 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.locTim.tNext,locTim.tNext,$PRE.eqnTim.tNext,eqnTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00012/0.7727, allocations: 129.7 kB / 1.025 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.701e-05/0.7727, allocations: 7.906 kB / 1.025 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002784/0.773, allocations: 142 kB / 1.025 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.773, allocations: 4 kB / 1.025 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.773, allocations: 0 / 1.025 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.773, allocations: 3.984 kB / 1.025 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002154/0.7732, allocations: 221.5 kB / 1.026 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.7733, allocations: 4 kB / 1.026 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.927e-05/0.7733, allocations: 15.94 kB / 1.026 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.7734, allocations: 7.938 kB / 1.026 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.803e-05/0.7734, allocations: 7.984 kB / 1.026 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.7734, allocations: 0 / 1.026 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.7734, allocations: 0 / 1.026 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002419/0.7736, allocations: 160.9 kB / 1.026 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.738e-05/0.7737, allocations: 85.02 kB / 1.026 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.628e-05/0.7737, allocations: 4 kB / 1.026 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00011/0.7739, allocations: 15.98 kB / 1.026 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.678e-05/0.7739, allocations: 7.984 kB / 1.026 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.069e-05/0.774, allocations: 11.98 kB / 1.026 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.095e-05/0.774, allocations: 91.28 kB / 1.026 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.774, allocations: 0 / 1.026 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002228/0.7743, allocations: 31.92 kB / 1.026 GB, free: 11.34 MB / 0.7794 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,locTim.tNext,eqnTim.tNext) * Number of discrete states: 2 (locTim.tNext,eqnTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001575/0.7744, allocations: 107.2 kB / 1.026 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002126/0.7746, allocations: 85.91 kB / 1.026 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.7747, allocations: 0 / 1.026 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001067/0.7748, allocations: 51.92 kB / 1.026 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001202/0.7749, allocations: 9.719 kB / 1.026 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004949/0.7754, allocations: 231.2 kB / 1.027 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003404/0.7757, allocations: 0.7004 MB / 1.027 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.082e-05/0.7758, allocations: 20.47 kB / 1.027 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.933e-05/0.7759, allocations: 19.44 kB / 1.027 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of SimCode: time 3.81e-07/0.7759, allocations: 0 / 1.027 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of Templates: time 0.003581/0.7795, allocations: 0.9505 MB / 1.028 GB, free: 9.121 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.csv","../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches