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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.008898/0.008898, allocations: 100.9 kB / 15.73 MB, free: 6 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.00151/0.00151, allocations: 188.9 kB / 16.67 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.919/2.919, allocations: 472.6 MB / 0.7452 GB, free: 4.598 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 63.91 kB / 1.069 GB, free: 9.262 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3551/0.3565, allocations: 159.9 MB / 1.226 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.003238/0.3597, allocations: 1.608 MB / 1.227 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001084/0.3609, allocations: 0.5413 MB / 1.228 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001157/0.361, allocations: 8 kB / 1.228 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.774e-05/0.3611, allocations: 7.875 kB / 1.228 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003535/0.3614, allocations: 47.75 kB / 1.228 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001595/0.3616, allocations: 35.88 kB / 1.228 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000173/0.3618, allocations: 111.6 kB / 1.228 GB, free: 6.879 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001258/0.3619, allocations: 23.98 kB / 1.228 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000149/0.3621, allocations: 47.84 kB / 1.228 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001302/0.3622, allocations: 51.77 kB / 1.228 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.84e-05/0.3623, allocations: 8 kB / 1.228 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 2.43e-05/0.3623, allocations: 8 kB / 1.228 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.753e-05/0.3623, allocations: 27.89 kB / 1.228 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.797e-05/0.3624, allocations: 43.8 kB / 1.228 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001682/0.3626, allocations: 91.61 kB / 1.228 GB, free: 6.582 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3626, allocations: 8 kB / 1.228 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3626, allocations: 0 / 1.228 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.192e-06/0.3626, allocations: 0 / 1.228 GB, free: 6.574 MB / 0.9825 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.0007667/0.3634, allocations: 403.1 kB / 1.229 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.3634, allocations: 8.031 kB / 1.229 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.584e-05/0.3635, allocations: 8.891 kB / 1.229 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001626/0.3637, allocations: 188.2 kB / 1.229 GB, free: 5.895 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.24e-05/0.3637, allocations: 8.359 kB / 1.229 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.963e-05/0.3637, allocations: 8.375 kB / 1.229 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000181/0.3639, allocations: 88.77 kB / 1.229 GB, free: 5.789 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.3639, allocations: 0 / 1.229 GB, free: 5.789 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/0.3639, allocations: 3.938 kB / 1.229 GB, free: 5.785 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.364, allocations: 7.984 kB / 1.229 GB, free: 5.777 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001245/0.3641, allocations: 47.97 kB / 1.229 GB, free: 5.73 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005559/0.3646, allocations: 348.6 kB / 1.229 GB, free: 5.34 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003085/0.365, allocations: 114.6 kB / 1.229 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.54e-05/0.3651, allocations: 44.84 kB / 1.229 GB, free: 5.172 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.051e-05/0.3651, allocations: 0 / 1.229 GB, free: 5.172 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002352/0.3653, allocations: 99.31 kB / 1.229 GB, free: 5.062 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=11): time 1.894e-06/0.3653, allocations: 0 / 1.229 GB, free: 5.062 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.0003541/0.3657, allocations: 149.5 kB / 1.23 GB, free: 4.91 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.43e-05/0.3658, allocations: 55.34 kB / 1.23 GB, free: 4.844 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.3659, allocations: 121.8 kB / 1.23 GB, free: 4.715 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.3659, allocations: 33.7 kB / 1.23 GB, free: 4.676 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.236e-05/0.3659, allocations: 84.38 kB / 1.23 GB, free: 4.586 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.944e-05/0.366, allocations: 43.81 kB / 1.23 GB, free: 4.543 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.851e-05/0.3661, allocations: 29.7 kB / 1.23 GB, free: 4.508 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.3662, allocations: 326.8 kB / 1.23 GB, free: 4.18 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.659e-05/0.3662, allocations: 24 kB / 1.23 GB, free: 4.156 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.945e-05/0.3663, allocations: 35.11 kB / 1.23 GB, free: 4.125 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001143/0.3664, allocations: 56.84 kB / 1.23 GB, free: 4.066 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.3664, allocations: 0 / 1.23 GB, free: 4.066 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001913/0.3666, allocations: 117.6 kB / 1.231 GB, free: 3.945 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.3667, allocations: 5.562 kB / 1.231 GB, free: 3.941 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.3667, allocations: 0 / 1.231 GB, free: 3.941 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.3667, allocations: 0 / 1.231 GB, free: 3.941 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001141/0.3668, allocations: 27.98 kB / 1.231 GB, free: 3.914 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.3668, allocations: 0 / 1.231 GB, free: 3.914 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001064/0.3669, allocations: 11.92 kB / 1.231 GB, free: 3.902 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.368e-05/0.367, allocations: 4 kB / 1.231 GB, free: 3.898 MB / 0.9825 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 (eqnTim.tNext,$PRE.eqnTim.tNext,locTim.tNext,$PRE.locTim.tNext,$whenCondition1,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001098/0.3671, allocations: 130.2 kB / 1.231 GB, free: 3.762 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.293e-05/0.3671, allocations: 11.94 kB / 1.231 GB, free: 3.75 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002816/0.3674, allocations: 138 kB / 1.231 GB, free: 3.605 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.3674, allocations: 8 kB / 1.231 GB, free: 3.598 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.3674, allocations: 0 / 1.231 GB, free: 3.598 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.922e-06/0.3674, allocations: 3.938 kB / 1.231 GB, free: 3.594 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001901/0.3676, allocations: 209.6 kB / 1.231 GB, free: 3.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.3676, allocations: 0 / 1.231 GB, free: 3.34 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.849e-05/0.3677, allocations: 23.92 kB / 1.231 GB, free: 3.316 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.3677, allocations: 7.875 kB / 1.231 GB, free: 3.309 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.539e-05/0.3678, allocations: 8 kB / 1.231 GB, free: 3.301 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.3678, allocations: 0 / 1.231 GB, free: 3.301 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3678, allocations: 0 / 1.231 GB, free: 3.301 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002436/0.368, allocations: 168 kB / 1.231 GB, free: 3.121 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.222e-05/0.3681, allocations: 89.05 kB / 1.231 GB, free: 3.016 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.487e-05/0.3681, allocations: 0 / 1.231 GB, free: 3.016 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.3682, allocations: 11.98 kB / 1.231 GB, free: 3.004 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.235e-05/0.3683, allocations: 11.98 kB / 1.231 GB, free: 2.992 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.976e-05/0.3683, allocations: 11.94 kB / 1.231 GB, free: 2.98 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.121e-05/0.3684, allocations: 92.14 kB / 1.231 GB, free: 2.891 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3684, allocations: 4 kB / 1.231 GB, free: 2.887 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002197/0.3686, allocations: 27.94 kB / 1.231 GB, free: 2.859 MB / 0.9825 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001282/0.3687, allocations: 107.2 kB / 1.232 GB, free: 2.746 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000219/0.369, allocations: 83.95 kB / 1.232 GB, free: 2.664 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.369, allocations: 0 / 1.232 GB, free: 2.664 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.963e-05/0.3691, allocations: 51.92 kB / 1.232 GB, free: 2.613 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001795/0.3693, allocations: 8 kB / 1.232 GB, free: 2.605 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004559/0.3697, allocations: 218.7 kB / 1.232 GB, free: 2.367 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000242/0.37, allocations: 0.6963 MB / 1.233 GB, free: 1.645 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.856e-05/0.37, allocations: 12.55 kB / 1.233 GB, free: 1.633 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.095e-05/0.3701, allocations: 19.42 kB / 1.233 GB, free: 1.613 MB / 0.9825 GB Notification: Performance of SimCode: time 3.4e-07/0.3701, allocations: 0 / 1.233 GB, free: 1.613 MB / 0.9825 GB Notification: Performance of Templates: time 0.003606/0.3737, allocations: 1.089 MB / 1.234 GB, free: 0.5352 MB / 0.9825 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches