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.001227/0.001227, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001571/0.001571, allocations: 172.7 kB / 15.95 MB, free: 208 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.63/1.63, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.87/2.87, allocations: 462.6 MB / 0.736 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003313/0.0003313, allocations: 8.062 kB / 0.9021 GB, free: 36.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3945/0.3948, allocations: 159.6 MB / 1.058 GB, free: 5.367 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.001898/0.3968, allocations: 1.295 MB / 1.059 GB, free: 4.062 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009026/0.3977, allocations: 0.4989 MB / 1.06 GB, free: 3.559 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.142e-05/0.3978, allocations: 4 kB / 1.06 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.706e-05/0.3978, allocations: 3.938 kB / 1.06 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003299/0.3982, allocations: 35.83 kB / 1.06 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001424/0.3983, allocations: 35.89 kB / 1.06 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001708/0.3985, allocations: 99.62 kB / 1.06 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001362/0.3987, allocations: 19.94 kB / 1.06 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001388/0.3988, allocations: 39.83 kB / 1.06 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001428/0.399, allocations: 43.83 kB / 1.06 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.636e-05/0.399, allocations: 4 kB / 1.06 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.386e-05/0.399, allocations: 7.938 kB / 1.06 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.924e-05/0.3991, allocations: 19.91 kB / 1.06 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.68e-05/0.3991, allocations: 37.7 kB / 1.06 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001348/0.3993, allocations: 64.09 kB / 1.06 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.3993, allocations: 0 / 1.06 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.254e-06/0.3993, allocations: 4 kB / 1.06 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.115e-06/0.3993, allocations: 0 / 1.06 GB, free: 3.141 MB / 0.8106 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.0009278/0.4003, allocations: 391.1 kB / 1.061 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.213e-05/0.4003, allocations: 8.031 kB / 1.061 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.339e-05/0.4004, allocations: 11.91 kB / 1.061 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002166/0.4006, allocations: 186.9 kB / 1.061 GB, free: 2.469 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.701e-05/0.4007, allocations: 3.953 kB / 1.061 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.855e-05/0.4007, allocations: 8 kB / 1.061 GB, free: 2.457 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002561/0.401, allocations: 81.64 kB / 1.061 GB, free: 2.371 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.401, allocations: 0 / 1.061 GB, free: 2.371 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.714e-05/0.401, allocations: 4 kB / 1.061 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.401, allocations: 0 / 1.061 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001711/0.4012, allocations: 55.84 kB / 1.061 GB, free: 2.312 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007095/0.4019, allocations: 340.7 kB / 1.061 GB, free: 1.93 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003759/0.4023, allocations: 110.6 kB / 1.061 GB, free: 1.812 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001158/0.4025, allocations: 44.84 kB / 1.061 GB, free: 1.766 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.294e-05/0.4025, allocations: 4 kB / 1.061 GB, free: 1.762 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002974/0.4028, allocations: 99.28 kB / 1.061 GB, free: 1.652 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=11): time 1.774e-06/0.4028, allocations: 0 / 1.061 GB, free: 1.652 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11): time 0.0004528/0.4033, allocations: 145.5 kB / 1.062 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.77e-05/0.4033, allocations: 55.41 kB / 1.062 GB, free: 1.438 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001355/0.4035, allocations: 126.5 kB / 1.062 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.212e-05/0.4035, allocations: 29.7 kB / 1.062 GB, free: 1.27 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.62e-05/0.4036, allocations: 100.4 kB / 1.062 GB, free: 1.164 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.465e-05/0.4036, allocations: 35.53 kB / 1.062 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.092e-05/0.4037, allocations: 7.938 kB / 1.062 GB, free: 1.121 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.4038, allocations: 318.8 kB / 1.062 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.608e-05/0.4039, allocations: 27.98 kB / 1.062 GB, free: 0.7734 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001001/0.404, allocations: 27.98 kB / 1.062 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.211e-05/0.4041, allocations: 30.5 kB / 1.062 GB, free: 0.7188 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.4041, allocations: 0 / 1.062 GB, free: 0.7188 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002581/0.4044, allocations: 113.5 kB / 1.062 GB, free: 0.6016 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.4044, allocations: 8 kB / 1.062 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.4044, allocations: 3.938 kB / 1.062 GB, free: 0.5898 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.4044, allocations: 0 / 1.062 GB, free: 0.5898 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001537/0.4046, allocations: 19.98 kB / 1.062 GB, free: 0.5703 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/0.4046, allocations: 4 kB / 1.062 GB, free: 0.5664 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001458/0.4048, allocations: 15.98 kB / 1.062 GB, free: 0.5508 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.972e-05/0.4048, allocations: 3.953 kB / 1.062 GB, free: 0.5469 MB / 0.8106 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.0001333/0.405, allocations: 125.8 kB / 1.063 GB, free: 424 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.557e-05/0.405, allocations: 7.906 kB / 1.063 GB, free: 416 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003727/0.4054, allocations: 146 kB / 1.063 GB, free: 264 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.4054, allocations: 0 / 1.063 GB, free: 264 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.4054, allocations: 0 / 1.063 GB, free: 264 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.4054, allocations: 0 / 1.063 GB, free: 264 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002747/0.4057, allocations: 217.5 kB / 1.063 GB, free: 16 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.4057, allocations: 0 / 1.063 GB, free: 16 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001154/0.4058, allocations: 19.92 kB / 1.063 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.384e-06/0.4059, allocations: 4 kB / 1.063 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.595e-05/0.4059, allocations: 4 kB / 1.063 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.4059, allocations: 0 / 1.063 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.4059, allocations: 0 / 1.063 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003363/0.4062, allocations: 166.7 kB / 1.063 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.316e-05/0.4063, allocations: 92.94 kB / 1.063 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.243e-05/0.4064, allocations: 0 / 1.063 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001447/0.4065, allocations: 12 kB / 1.063 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.484e-05/0.4066, allocations: 15.97 kB / 1.063 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.226e-05/0.4066, allocations: 4 kB / 1.063 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.763e-05/0.4067, allocations: 107.2 kB / 1.063 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2e-07/0.4067, allocations: 0 / 1.063 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003447/0.4071, allocations: 24 kB / 1.063 GB, free: 15.52 MB / 0.8262 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.0001667/0.4073, allocations: 103.2 kB / 1.063 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002766/0.4076, allocations: 83.95 kB / 1.064 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.4076, allocations: 4 kB / 1.064 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001321/0.4077, allocations: 47.92 kB / 1.064 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002607/0.408, allocations: 14.48 kB / 1.064 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005829/0.4086, allocations: 240.1 kB / 1.064 GB, free: 15 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002918/0.4089, allocations: 0.7004 MB / 1.065 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.655e-05/0.409, allocations: 12.53 kB / 1.065 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.161e-05/0.4091, allocations: 23.38 kB / 1.065 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of SimCode: time 3e-07/0.4091, allocations: 0 / 1.065 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of Templates: time 0.004819/0.4139, allocations: 0.9474 MB / 1.066 GB, free: 13.3 MB / 0.8262 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