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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.0092/0.0092, allocations: 99.14 kB / 15.73 MB, free: 6.035 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.00206/0.00206, allocations: 196.9 kB / 16.67 MB, free: 5.965 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.419/1.419, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.795/2.795, allocations: 461.9 MB / 0.7348 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 63.91 kB / 1.054 GB, free: 7.176 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4204/0.4216, allocations: 157.4 MB / 1.208 GB, free: 9.672 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002972/0.4247, allocations: 1.61 MB / 1.209 GB, free: 8.047 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0009764/0.4257, allocations: 0.5419 MB / 1.21 GB, free: 7.5 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.411e-05/0.4257, allocations: 0 / 1.21 GB, free: 7.5 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.882e-05/0.4258, allocations: 3.938 kB / 1.21 GB, free: 7.496 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002913/0.4261, allocations: 47.69 kB / 1.21 GB, free: 7.449 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001272/0.4262, allocations: 39.89 kB / 1.21 GB, free: 7.41 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001496/0.4264, allocations: 115.6 kB / 1.21 GB, free: 7.297 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000124/0.4265, allocations: 19.98 kB / 1.21 GB, free: 7.277 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001304/0.4266, allocations: 51.83 kB / 1.21 GB, free: 7.227 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000131/0.4268, allocations: 47.83 kB / 1.21 GB, free: 7.18 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.03e-05/0.4268, allocations: 8 kB / 1.21 GB, free: 7.172 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 2.041e-05/0.4268, allocations: 8 kB / 1.21 GB, free: 7.164 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.888e-05/0.4269, allocations: 27.89 kB / 1.21 GB, free: 7.137 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.457e-05/0.427, allocations: 47.73 kB / 1.21 GB, free: 7.09 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001433/0.4271, allocations: 99.67 kB / 1.21 GB, free: 6.992 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.4271, allocations: 0 / 1.21 GB, free: 6.992 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.265e-06/0.4271, allocations: 0 / 1.21 GB, free: 6.992 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.71e-06/0.4271, allocations: 0 / 1.21 GB, free: 6.992 MB / 0.9669 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.0008055/0.4279, allocations: 403.1 kB / 1.211 GB, free: 6.551 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.428, allocations: 8.031 kB / 1.211 GB, free: 6.543 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.64e-05/0.428, allocations: 16.84 kB / 1.211 GB, free: 6.527 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001628/0.4282, allocations: 168.3 kB / 1.211 GB, free: 6.324 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.109e-05/0.4282, allocations: 8.375 kB / 1.211 GB, free: 6.316 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.166e-05/0.4283, allocations: 8.359 kB / 1.211 GB, free: 6.309 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002026/0.4285, allocations: 87.88 kB / 1.211 GB, free: 6.219 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.4285, allocations: 0 / 1.211 GB, free: 6.219 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.172e-05/0.4285, allocations: 11.98 kB / 1.211 GB, free: 6.207 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.4285, allocations: 4 kB / 1.211 GB, free: 6.203 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001197/0.4287, allocations: 47.91 kB / 1.211 GB, free: 6.156 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005509/0.4292, allocations: 352.5 kB / 1.211 GB, free: 5.762 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003114/0.4295, allocations: 102.7 kB / 1.211 GB, free: 5.652 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.993e-05/0.4296, allocations: 44.78 kB / 1.212 GB, free: 5.605 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.759e-05/0.4297, allocations: 0 / 1.212 GB, free: 5.605 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002085/0.4299, allocations: 103.3 kB / 1.212 GB, free: 5.492 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=11): time 1.392e-06/0.4299, allocations: 0 / 1.212 GB, free: 5.492 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11): time 0.0003347/0.4302, allocations: 141.5 kB / 1.212 GB, free: 5.348 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.534e-05/0.4303, allocations: 55.34 kB / 1.212 GB, free: 5.281 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.4304, allocations: 134.5 kB / 1.212 GB, free: 5.141 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/0.4304, allocations: 25.7 kB / 1.212 GB, free: 5.109 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.599e-05/0.4305, allocations: 92.45 kB / 1.212 GB, free: 5.012 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.814e-05/0.4305, allocations: 43.47 kB / 1.212 GB, free: 4.969 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.208e-05/0.4306, allocations: 29.7 kB / 1.212 GB, free: 4.934 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000155/0.4308, allocations: 318.8 kB / 1.212 GB, free: 4.613 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.007e-05/0.4308, allocations: 31.98 kB / 1.212 GB, free: 4.582 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.442e-05/0.4309, allocations: 27.98 kB / 1.212 GB, free: 4.555 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001172/0.431, allocations: 62.22 kB / 1.213 GB, free: 4.492 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.431, allocations: 0 / 1.213 GB, free: 4.492 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001866/0.4312, allocations: 114.5 kB / 1.213 GB, free: 4.375 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.4312, allocations: 4 kB / 1.213 GB, free: 4.371 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.4313, allocations: 0 / 1.213 GB, free: 4.371 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.4313, allocations: 4 kB / 1.213 GB, free: 4.367 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.4314, allocations: 23.92 kB / 1.213 GB, free: 4.344 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.4314, allocations: 0 / 1.213 GB, free: 4.344 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.976e-05/0.4315, allocations: 15.83 kB / 1.213 GB, free: 4.328 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.336e-05/0.4315, allocations: 8 kB / 1.213 GB, free: 4.32 MB / 0.9669 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.0001043/0.4316, allocations: 117.8 kB / 1.213 GB, free: 4.195 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.132e-05/0.4317, allocations: 7.906 kB / 1.213 GB, free: 4.188 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003038/0.432, allocations: 156.9 kB / 1.213 GB, free: 4.027 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.432, allocations: 7.984 kB / 1.213 GB, free: 4.02 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.432, allocations: 0 / 1.213 GB, free: 4.02 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.432, allocations: 3.938 kB / 1.213 GB, free: 4.016 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001951/0.4322, allocations: 213.5 kB / 1.213 GB, free: 3.758 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.4322, allocations: 0 / 1.213 GB, free: 3.758 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.686e-05/0.4323, allocations: 19.98 kB / 1.213 GB, free: 3.738 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.4323, allocations: 0 / 1.213 GB, free: 3.738 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.4323, allocations: 7.938 kB / 1.213 GB, free: 3.73 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.4323, allocations: 0 / 1.213 GB, free: 3.73 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.4323, allocations: 0 / 1.213 GB, free: 3.73 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000251/0.4326, allocations: 168.9 kB / 1.213 GB, free: 3.547 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.811e-05/0.4327, allocations: 89 kB / 1.213 GB, free: 3.441 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.638e-05/0.4327, allocations: 4 kB / 1.213 GB, free: 3.438 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.519e-05/0.4328, allocations: 4 kB / 1.213 GB, free: 3.434 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.238e-05/0.4329, allocations: 19.97 kB / 1.213 GB, free: 3.414 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.985e-05/0.4329, allocations: 7.938 kB / 1.214 GB, free: 3.406 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.036e-05/0.433, allocations: 107.3 kB / 1.214 GB, free: 3.301 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.41e-07/0.433, allocations: 0 / 1.214 GB, free: 3.301 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002072/0.4332, allocations: 24 kB / 1.214 GB, free: 3.277 MB / 0.9669 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.0001509/0.4334, allocations: 96.66 kB / 1.214 GB, free: 3.176 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002254/0.4336, allocations: 95.89 kB / 1.214 GB, free: 3.082 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.4336, allocations: 3.938 kB / 1.214 GB, free: 3.078 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 9.25e-05/0.4337, allocations: 47.92 kB / 1.214 GB, free: 3.031 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000164/0.4339, allocations: 8 kB / 1.214 GB, free: 3.023 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004984/0.4344, allocations: 210.4 kB / 1.214 GB, free: 2.789 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003167/0.4347, allocations: 0.7002 MB / 1.215 GB, free: 2.062 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 5.561e-05/0.4348, allocations: 8.562 kB / 1.215 GB, free: 2.055 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.858e-05/0.4348, allocations: 23.42 kB / 1.215 GB, free: 2.031 MB / 0.9669 GB Notification: Performance of SimCode: time 2.41e-07/0.4348, allocations: 0 / 1.215 GB, free: 2.031 MB / 0.9669 GB Notification: Performance of Templates: time 0.00389/0.4387, allocations: 1.124 MB / 1.216 GB, free: 0.918 MB / 0.9669 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