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.01021/0.01021, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.002434/0.002434, allocations: 197.2 kB / 16.68 MB, free: 5.93 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.434/1.434, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.606/2.606, allocations: 461.9 MB / 0.7347 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 67.91 kB / 1.054 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9261/0.9276, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.00292/0.9306, allocations: 1.605 MB / 1.209 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.000909/0.9315, allocations: 0.5415 MB / 1.21 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.603e-05/0.9315, allocations: 4 kB / 1.21 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.465e-05/0.9316, allocations: 7.938 kB / 1.21 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002665/0.9319, allocations: 39.7 kB / 1.21 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001254/0.932, allocations: 35.94 kB / 1.21 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002015/0.9322, allocations: 111.6 kB / 1.21 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.9323, allocations: 31.91 kB / 1.21 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001121/0.9325, allocations: 43.8 kB / 1.21 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001131/0.9326, allocations: 51.81 kB / 1.21 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.579e-05/0.9326, allocations: 8 kB / 1.21 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.796e-05/0.9326, allocations: 8 kB / 1.21 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.636e-05/0.9327, allocations: 23.91 kB / 1.21 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 7.017e-05/0.9328, allocations: 47.78 kB / 1.21 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001296/0.9329, allocations: 91.39 kB / 1.21 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.9329, allocations: 4 kB / 1.21 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.333e-06/0.9329, allocations: 7.938 kB / 1.21 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.9329, allocations: 0 / 1.21 GB, free: 10.93 MB / 0.9356 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.000781/0.9337, allocations: 405.1 kB / 1.211 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.496e-05/0.9338, allocations: 8.031 kB / 1.211 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.324e-05/0.9338, allocations: 8.844 kB / 1.211 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000159/0.934, allocations: 188.2 kB / 1.211 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.385e-05/0.934, allocations: 12.36 kB / 1.211 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.807e-05/0.934, allocations: 8.375 kB / 1.211 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001762/0.9342, allocations: 81.97 kB / 1.211 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.9342, allocations: 0 / 1.211 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.624e-05/0.9342, allocations: 3.984 kB / 1.211 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.9343, allocations: 7.938 kB / 1.211 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001424/0.9344, allocations: 47.97 kB / 1.211 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005362/0.9349, allocations: 340.6 kB / 1.211 GB, free: 9.703 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003038/0.9353, allocations: 110.6 kB / 1.211 GB, free: 9.586 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.2e-05/0.9354, allocations: 40.84 kB / 1.212 GB, free: 9.543 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.953e-05/0.9354, allocations: 0 / 1.212 GB, free: 9.543 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002368/0.9356, allocations: 103.2 kB / 1.212 GB, free: 9.43 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=11): time 1.363e-06/0.9356, allocations: 4 kB / 1.212 GB, free: 9.426 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11): time 0.0003442/0.936, allocations: 149.5 kB / 1.212 GB, free: 9.273 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.193e-05/0.936, allocations: 51.41 kB / 1.212 GB, free: 9.211 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001669/0.9362, allocations: 121.8 kB / 1.212 GB, free: 9.082 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.619e-05/0.9362, allocations: 33.7 kB / 1.212 GB, free: 9.043 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.121e-05/0.9363, allocations: 92.28 kB / 1.212 GB, free: 8.945 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.932e-05/0.9364, allocations: 31.69 kB / 1.212 GB, free: 8.914 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.365e-05/0.9364, allocations: 29.7 kB / 1.212 GB, free: 8.879 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.9366, allocations: 326.8 kB / 1.212 GB, free: 8.551 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.397e-05/0.9366, allocations: 24 kB / 1.212 GB, free: 8.527 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.505e-05/0.9367, allocations: 31.92 kB / 1.212 GB, free: 8.496 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001274/0.9368, allocations: 64.78 kB / 1.213 GB, free: 8.43 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.9368, allocations: 0 / 1.213 GB, free: 8.43 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001839/0.937, allocations: 117.1 kB / 1.213 GB, free: 8.312 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.937, allocations: 4 kB / 1.213 GB, free: 8.309 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.9371, allocations: 0 / 1.213 GB, free: 8.309 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.9371, allocations: 0 / 1.213 GB, free: 8.309 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001141/0.9372, allocations: 27.92 kB / 1.213 GB, free: 8.281 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.9372, allocations: 4 kB / 1.213 GB, free: 8.277 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001057/0.9373, allocations: 23.77 kB / 1.213 GB, free: 8.254 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.201e-05/0.9374, allocations: 4 kB / 1.213 GB, free: 8.25 MB / 0.9356 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.0001019/0.9375, allocations: 122.7 kB / 1.213 GB, free: 8.121 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.821e-05/0.9375, allocations: 7.984 kB / 1.213 GB, free: 8.113 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002817/0.9378, allocations: 141.9 kB / 1.213 GB, free: 7.965 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.9378, allocations: 4 kB / 1.213 GB, free: 7.961 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.9378, allocations: 7.938 kB / 1.213 GB, free: 7.953 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.9378, allocations: 3.938 kB / 1.213 GB, free: 7.949 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001861/0.938, allocations: 209.6 kB / 1.213 GB, free: 7.695 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.938, allocations: 0 / 1.213 GB, free: 7.695 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.088e-05/0.9381, allocations: 15.98 kB / 1.213 GB, free: 7.68 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.9381, allocations: 0 / 1.213 GB, free: 7.68 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.635e-05/0.9381, allocations: 4 kB / 1.213 GB, free: 7.676 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.9381, allocations: 0 / 1.213 GB, free: 7.676 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.9381, allocations: 0 / 1.213 GB, free: 7.676 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002766/0.9384, allocations: 168.9 kB / 1.213 GB, free: 7.492 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.155e-05/0.9385, allocations: 96.88 kB / 1.213 GB, free: 7.379 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.272e-05/0.9385, allocations: 0 / 1.213 GB, free: 7.379 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.9386, allocations: 11.98 kB / 1.213 GB, free: 7.367 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.328e-05/0.9387, allocations: 11.98 kB / 1.213 GB, free: 7.355 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.88e-05/0.9387, allocations: 7.938 kB / 1.213 GB, free: 7.348 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.144e-05/0.9388, allocations: 95.27 kB / 1.214 GB, free: 7.254 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9388, allocations: 4 kB / 1.214 GB, free: 7.25 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002126/0.939, allocations: 20 kB / 1.214 GB, free: 7.23 MB / 0.9356 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.0001273/0.9391, allocations: 111.2 kB / 1.214 GB, free: 7.113 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002602/0.9394, allocations: 87.89 kB / 1.214 GB, free: 7.027 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.9394, allocations: 0 / 1.214 GB, free: 7.027 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.812e-05/0.9395, allocations: 51.92 kB / 1.214 GB, free: 6.977 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001733/0.9397, allocations: 8 kB / 1.214 GB, free: 6.969 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000494/0.9402, allocations: 210 kB / 1.214 GB, free: 6.738 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003264/0.9405, allocations: 0.7002 MB / 1.215 GB, free: 6.012 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 5.207e-05/0.9406, allocations: 8.562 kB / 1.215 GB, free: 6.004 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.845e-05/0.9407, allocations: 23.3 kB / 1.215 GB, free: 5.98 MB / 0.9356 GB Notification: Performance of SimCode: time 2.51e-07/0.9407, allocations: 4 kB / 1.215 GB, free: 5.977 MB / 0.9356 GB Notification: Performance of Templates: time 0.003563/0.9442, allocations: 1.094 MB / 1.216 GB, free: 4.891 MB / 0.9356 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