Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.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.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|walSolAzi.verAzi",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|walSolAzi.verAzi",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001609/0.001609, allocations: 105.8 kB / 16.27 MB, free: 6.414 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.001755/0.001755, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.427/1.427, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.782/2.782, allocations: 482.4 MB / 0.7553 GB, free: 7.008 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001942/0.001942, allocations: 69.31 kB / 0.9245 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8006/0.8026, allocations: 162.2 MB / 1.083 GB, free: 1.645 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth): time 0.007195/0.8098, allocations: 5.36 MB / 1.088 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.194/1.004, allocations: 150.8 MB / 1.235 GB, free: 2.289 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001416/1.005, allocations: 15.94 kB / 1.235 GB, free: 2.273 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.000794/1.006, allocations: 210 kB / 1.236 GB, free: 2.066 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.002454/1.009, allocations: 0.6055 MB / 1.236 GB, free: 1.461 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002486/1.011, allocations: 0.8851 MB / 1.237 GB, free: 0.582 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002167/1.013, allocations: 1.553 MB / 1.239 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001062/1.014, allocations: 0.6719 MB / 1.239 GB, free: 14.33 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008554/1.015, allocations: 0.5606 MB / 1.24 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007669/1.016, allocations: 0.5912 MB / 1.24 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002019/1.016, allocations: 136 kB / 1.24 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001146/1.017, allocations: 0.4918 MB / 1.241 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003705/1.018, allocations: 338.9 kB / 1.241 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0006817/1.018, allocations: 0.6452 MB / 1.242 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002323/1.021, allocations: 1.807 MB / 1.244 GB, free: 9.754 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/1.021, allocations: 0 / 1.244 GB, free: 9.754 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.044e-06/1.021, allocations: 4 kB / 1.244 GB, free: 9.75 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.84e-05/1.021, allocations: 0 / 1.244 GB, free: 9.75 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: 255 * Number of variables: 255 Notification: Performance of Generate backend data structure: time 0.003032/1.024, allocations: 1.593 MB / 1.245 GB, free: 8.105 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/1.024, allocations: 8.031 kB / 1.245 GB, free: 8.098 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009995/1.025, allocations: 203.2 kB / 1.245 GB, free: 7.898 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001249/1.026, allocations: 0.7896 MB / 1.246 GB, free: 7.062 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.224e-05/1.026, allocations: 78.02 kB / 1.246 GB, free: 6.984 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001338/1.026, allocations: 92 kB / 1.246 GB, free: 6.895 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001908/1.028, allocations: 1.067 MB / 1.247 GB, free: 5.762 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.463e-05/1.028, allocations: 3.984 kB / 1.247 GB, free: 5.758 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001006/1.028, allocations: 44 kB / 1.247 GB, free: 5.715 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.629e-05/1.029, allocations: 24 kB / 1.247 GB, free: 5.691 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002046/1.031, allocations: 1.225 MB / 1.249 GB, free: 4.465 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005191/1.036, allocations: 3.292 MB / 1.252 GB, free: 1.012 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001713/1.038, allocations: 0.8899 MB / 1.253 GB, free: 112 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006432/1.038, allocations: 347.7 kB / 1.253 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.778e-05/1.038, allocations: 37.02 kB / 1.253 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00106/1.039, allocations: 0.5546 MB / 1.254 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=92): time 2.655e-06/1.039, allocations: 3.938 kB / 1.254 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of matching and sorting (n=92): time 0.003708/1.043, allocations: 1.344 MB / 1.255 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001431/1.043, allocations: 188.9 kB / 1.255 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001014/1.044, allocations: 0.6803 MB / 1.256 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 8.523e-05/1.044, allocations: 49.69 kB / 1.256 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004238/1.045, allocations: 444.3 kB / 1.256 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002848/1.045, allocations: 291.8 kB / 1.257 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003004/1.045, allocations: 190.4 kB / 1.257 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002312/1.046, allocations: 390.8 kB / 1.257 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006252/1.046, allocations: 309.8 kB / 1.257 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007467/1.047, allocations: 411.1 kB / 1.258 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001346/1.048, allocations: 0.6828 MB / 1.259 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.061e-06/1.048, allocations: 4 kB / 1.259 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002289/1.051, allocations: 0.958 MB / 1.259 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/1.051, allocations: 6.5 kB / 1.259 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.996e-06/1.051, allocations: 0 / 1.259 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006154/1.051, allocations: 84.83 kB / 1.26 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007554/1.052, allocations: 191.8 kB / 1.26 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002304/1.054, allocations: 1.638 MB / 1.261 GB, free: 7.059 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008542/1.055, allocations: 103.3 kB / 1.261 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-05/1.055, allocations: 39.97 kB / 1.261 GB, free: 6.918 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 20 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,incAng.decAng.tNext,$PRE.incAng.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005798/1.056, allocations: 279.9 kB / 1.262 GB, free: 6.637 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002018/1.056, allocations: 90.88 kB / 1.262 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002819/1.059, allocations: 1.238 MB / 1.263 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-05/1.059, allocations: 8 kB / 1.263 GB, free: 5.289 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/1.059, allocations: 4 kB / 1.263 GB, free: 5.285 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.292e-05/1.059, allocations: 7.969 kB / 1.263 GB, free: 5.277 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001399/1.06, allocations: 1.009 MB / 1.264 GB, free: 4.219 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/1.06, allocations: 0 / 1.264 GB, free: 4.219 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006579/1.061, allocations: 167.7 kB / 1.264 GB, free: 4.055 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004532/1.062, allocations: 76.78 kB / 1.264 GB, free: 3.977 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.106e-05/1.062, allocations: 27.98 kB / 1.264 GB, free: 3.949 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002092/1.064, allocations: 1.658 MB / 1.266 GB, free: 2.141 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/1.064, allocations: 8.047 kB / 1.266 GB, free: 2.133 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002309/1.066, allocations: 1.045 MB / 1.267 GB, free: 1.07 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004673/1.067, allocations: 299.5 kB / 1.267 GB, free: 0.7578 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001444/1.067, allocations: 23.94 kB / 1.267 GB, free: 0.7344 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006678/1.067, allocations: 71.98 kB / 1.267 GB, free: 0.6641 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001864/1.068, allocations: 80.89 kB / 1.267 GB, free: 0.582 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.486e-05/1.068, allocations: 43.97 kB / 1.267 GB, free: 0.5391 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0007134/1.068, allocations: 499 kB / 1.268 GB, free: 60 kB / 0.9825 GB Notification: Performance of sort global known variables: time 2.555e-06/1.068, allocations: 0 / 1.268 GB, free: 60 kB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001122/1.07, allocations: 387 kB / 1.268 GB, free: 15.68 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002109/1.072, allocations: 0.6143 MB / 1.269 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002896/1.075, allocations: 1.163 MB / 1.27 GB, free: 14.06 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.162e-06/1.075, allocations: 4 kB / 1.27 GB, free: 14.06 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001082/1.076, allocations: 0.5707 MB / 1.271 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001308/1.077, allocations: 319.3 kB / 1.271 GB, free: 13.19 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003538/1.081, allocations: 1.919 MB / 1.273 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007274/1.081, allocations: 1.078 MB / 1.274 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000376/1.082, allocations: 131.4 kB / 1.274 GB, free: 10 MB / 0.9981 GB Notification: Performance of SimCode: time 6.91e-07/1.082, allocations: 0 / 1.274 GB, free: 10 MB / 0.9981 GB Notification: Performance of Templates: time 0.0305/1.112, allocations: 20.82 MB / 1.294 GB, free: 5.273 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches