Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001501/0.001501, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002327/0.002328, allocations: 190.7 kB / 16.25 MB, free: 6.645 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.497/1.497, allocations: 222.9 MB / 239.9 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.82/2.82, allocations: 437 MB / 0.71 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 67.88 kB / 0.8687 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7435/0.7447, allocations: 151.6 MB / 1.017 GB, free: 2.785 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.003133/0.7479, allocations: 1.674 MB / 1.018 GB, free: 1.102 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001004/0.7489, allocations: 0.5299 MB / 1.019 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.712e-05/0.749, allocations: 0 / 1.019 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.218e-05/0.7491, allocations: 3.938 kB / 1.019 GB, free: 0.5625 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0002806/0.7494, allocations: 39.81 kB / 1.019 GB, free: 0.5234 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001356/0.7495, allocations: 35.91 kB / 1.019 GB, free: 500 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001488/0.7497, allocations: 111.6 kB / 1.019 GB, free: 388 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001284/0.7498, allocations: 19.98 kB / 1.019 GB, free: 368 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001339/0.7499, allocations: 55.83 kB / 1.019 GB, free: 312 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001021/0.7501, allocations: 47.83 kB / 1.019 GB, free: 264 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.48e-05/0.7501, allocations: 8 kB / 1.019 GB, free: 256 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.937e-05/0.7501, allocations: 8 kB / 1.019 GB, free: 248 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.837e-05/0.7502, allocations: 23.91 kB / 1.019 GB, free: 224 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 6.296e-05/0.7502, allocations: 39.84 kB / 1.019 GB, free: 184 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001451/0.7504, allocations: 101.5 kB / 1.019 GB, free: 84 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.7504, allocations: 0 / 1.019 GB, free: 84 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.653e-06/0.7504, allocations: 0 / 1.019 GB, free: 84 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.855e-06/0.7504, allocations: 0 / 1.019 GB, free: 84 kB / 0.7637 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.0008263/0.7512, allocations: 407.1 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.7513, allocations: 12.03 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.037e-05/0.7513, allocations: 8.844 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001611/0.7515, allocations: 180.2 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/0.7515, allocations: 4.375 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.749e-05/0.7516, allocations: 8.375 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001897/0.7518, allocations: 85.95 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.7518, allocations: 7.922 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.273e-05/0.7518, allocations: 8 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.7518, allocations: 0 / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001142/0.7519, allocations: 43.97 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005191/0.7525, allocations: 352.6 kB / 1.02 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002854/0.7528, allocations: 102.7 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.897e-05/0.7528, allocations: 44.84 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.51e-05/0.7529, allocations: 3.984 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002392/0.7531, allocations: 95.3 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=11): time 1.563e-06/0.7531, allocations: 7.938 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.0003247/0.7535, allocations: 145.5 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.67e-05/0.7535, allocations: 55.41 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.105e-05/0.7536, allocations: 122.6 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.7536, allocations: 25.7 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.763e-05/0.7537, allocations: 96.27 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.708e-05/0.7537, allocations: 35.69 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.074e-05/0.7538, allocations: 25.7 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.632e-05/0.7539, allocations: 326.8 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.558e-05/0.754, allocations: 27.98 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.009e-05/0.754, allocations: 37.86 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001162/0.7541, allocations: 64.84 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.7541, allocations: 0 / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001773/0.7543, allocations: 110.8 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.7544, allocations: 9.25 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.7544, allocations: 0 / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.7544, allocations: 0 / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001136/0.7545, allocations: 23.92 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.872e-06/0.7545, allocations: 4 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001205/0.7546, allocations: 19.86 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.325e-05/0.7547, allocations: 4 kB / 1.022 GB, free: 13.4 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 (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 8.863e-05/0.7548, allocations: 114.4 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.251e-05/0.7548, allocations: 7.906 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002789/0.7551, allocations: 153.1 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.634e-06/0.7551, allocations: 4 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.798e-06/0.7551, allocations: 0 / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.229e-06/0.7551, allocations: 3.938 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000175/0.7553, allocations: 217.5 kB / 1.022 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.7553, allocations: 0 / 1.022 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.553e-05/0.7554, allocations: 19.98 kB / 1.022 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.7554, allocations: 0 / 1.022 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.7554, allocations: 0 / 1.022 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.7554, allocations: 0 / 1.022 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.7554, allocations: 4 kB / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002604/0.7557, allocations: 168.9 kB / 1.022 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.526e-05/0.7558, allocations: 92.94 kB / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.8e-05/0.7558, allocations: 4 kB / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/0.7559, allocations: 4 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.924e-05/0.756, allocations: 11.98 kB / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.232e-05/0.756, allocations: 11.92 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.113e-05/0.7561, allocations: 107.2 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7561, allocations: 0 / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002143/0.7563, allocations: 28 kB / 1.023 GB, free: 12.37 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 (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.0001288/0.7564, allocations: 103.2 kB / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000223/0.7567, allocations: 95.89 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.7567, allocations: 0 / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.593e-05/0.7568, allocations: 51.92 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001745/0.757, allocations: 8 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004226/0.7574, allocations: 229.1 kB / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002284/0.7576, allocations: 0.7002 MB / 1.024 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.602e-05/0.7577, allocations: 16.55 kB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.013e-05/0.7578, allocations: 15.42 kB / 1.024 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of SimCode: time 2.51e-07/0.7578, allocations: 0 / 1.024 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of Templates: time 0.003389/0.7612, allocations: 1.044 MB / 1.025 GB, free: 10.06 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches